ui consistency thing again
Alexander Belchenko
bialix at ukr.net
Thu Nov 29 19:01:00 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Wichmann, Mats D пишет:
> Just chatting with Jeff Licquia, we've both been
> bothered by the same gripe in this "ui consistency" area:
>
> bzr status always reports branch-root-relative paths,
> whether or not given arguments.
>
> $ cd headers/alsa
> $ bzr status
> ...
> headers/alsa/timer.h
> ...
> $ bzr status .
> ...
> headers/alsa/timer.h
> ...
> $ bzr status timer.h
> headers/alsa/timer.h
>
>
> I often have chunks of tool-generated code to
> deal with, and I may want to just check in some,
> split the commit into two, etc.
>
> So I take my output, save it to a file,
> narrow down the file and try to check in:
>
> $ cat xxx
> headers/alsa/timer.h
> $ bzr commit -m "foo" `cat xxx`
> bzr: ERROR: Path(s) are not versioned: headers/alsa/headers/alsa/timer.h
>
> So commit is quite happy to take cwd-relative paths
> but status isn't... oh, wait, maybe I can get more
> useful data from "bzr modified" instead?
>
> $ bzr modified
> ...
> headers/alsa/timer.h
> ...
> $ bzr modified .
> bzr: ERROR: extra argument to command modified: .
>
> Guess I can't get there from here ....
>
> (no complaints really for modified, it works just as
> it's documented, "List files modified in working tree.")
`bzr ls` perhaps?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHTwxszYr338mxwCURAkz3AJ47grWCWKoRBkNtxs+I/2yDbiYpDwCdGAo1
PBBiWR0SMKS5+dMnKUm5hkg=
=3reQ
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list