Re: something equivalent to "bk ls"?
Larry McVoy <[email protected]> Thu, 28 Oct 2004 13:23:19 -0700
| Newsgroups | gmane.comp.version-control.bitkeeper.user |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Oct 28, 2004 at 03:40:03PM -0400, Robert P. J. Day wrote: > is there something equivalent to "bk ls" to show the gfile > equivalents of a directory's files? as an example, if i'm sitting in > the root of a kernel source tree, i'd like to get a file listing like: > > Makefile > README > ChangeLog > etc ... Not right now. The commercial tree has a -1 option to sfiles which does what you want, however. > but that's recursive, which is not what i want. (it's also confusing > that the "bk helptool" for "sfiles" shows a syntax of > > bk [-r] sfiles ... > > where i always thought the global "-r" option was for recursive > behaviour, but if sfiles works recursively automatically, what's the > point of the "-r"? bk -r sfiles is redundant. "bk -r" will do the same thing, we just allow the other form because people tend to type it. It's worth noting that "bk -r command ..." is the same as cd `bk root` bk sfiles | bk command ... - and that "bk -r" is the same as cd `bk root` bk sfiles You can combine -r with the sfiles options if you like, so if you wanted to do something to all the modified files it is bk -cr command -- --- Larry McVoy lm at bitmover.com http://www.bitkeeper.com _______________________________________________ Bitkeeper-users mailing list [email protected] http://bitmover.com/mailman/listinfo/bitkeeper-users To unsubscribe from this list, go to the above URL, follow instruction at the bottom of the web page.