[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] How to switch a working directory to a different b
From: |
Johannes Berg |
Subject: |
Re: [Gnu-arch-users] How to switch a working directory to a different branch? |
Date: |
Tue, 26 Oct 2004 17:03:45 +0200 (CEST) |
User-agent: |
SquirrelMail/1.4.3a |
Andrew Wilcox said:
> I'm working in a version imaginatively named "all--a--0". I've made a
> bunch of changes in my working directory which I haven't committed
> yet. I realize that I want to put these changes into a new branch.
>
> $ tla archive-setup all--profile--0
> $ tla tag all--a--0 all--profile--0
>
> Ok, this seems to work as far as I can tell, I can go into a scratch
> directory and get all--profile--0.
You could skip this, depending on what you want to do later...
> I go back to my working directory. I want to commit my changes into
> all--profile--0.
>
> $ tla set-tree-version all--profile--0
either insert
$ tla sync-tree all--profile--0--base-0
in here, or undo and redo into the newly gotten tree.
johannes