any way to refer to the root?

Chris Hecker checker at d6.com
Wed May 18 21:43:24 UTC 2011


I'll do a 'bzr st' and find there's a file I want to add in another 
directory, but there seems to be no way to add that file from the 
current directory without a lot of ../../..  Is there a way to refer to 
the root of the branch in the command line tools?

More explicitly, if I do this:

a/b/c/d$ bzr st
unknown:
a/e/f/g/foo.txt

there appears to be nothing to do except:

a/b/c/d$ bzr add ../../../e/f/g/foo.txt

I can't just add everything, so I need to specify the file directly.

bzr ignore doesn't work this way, since it's just dropping the string 
into the file, you can ignore from anywhere by just copy+pasting the 
unknown file or dir to bzr ignore, which is way more convenient.

I'm hoping there's a secret way to say "base dir of the branch".

Thanks,
Chris





More information about the bazaar mailing list