new status output
Jan Hudec
bulb at ucw.cz
Wed Oct 26 00:07:00 BST 2005
On Tue, Oct 25, 2005 at 18:42:23 -0400, Aaron Bentley wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Matthew Hannigan wrote:
> > On Tue, Oct 25, 2005 at 08:57:12AM -0400, Aaron Bentley wrote:
> >
> >>>Btw, you'll get in trouble with xargs in that one if there's any filenames
> >>>with spaces. For what you're trying there, how about bzr add "*" ?
> >>
> >>That would add ignored files as well as unknown files. Better to do
> >>"bzr add" or "bzr add ."
> >
> >
> > I took James' "*" to mean 'all non-ignored'.
>
> That's not what it does. It will also add ignored files in the root
> directory, because, unlike tla, bzr will let you add any file. And
> since we can't tell whether the arguments were glob-expanded, we have to
> assume the user really wanted us to do this.
Um, and how do I add a file called "*" then?
Similar things were discussed in mercurial list lately. The net result seems
to be that filenames should be interpreted as globs if and only if any of:
- In configuration, including especially list of ignored files.
- We are running on Windows (os.name == 'nt' or os.name ==
i-don't-know-what-Win95/98-say).
- We are explicitly asked to do so.
> > Another possibility is add an option to add:
> > bzr add --unknowns
>
> True.
I believe
bzr add .
does the right thing in this case anyway.
--
Jan 'Bulb' Hudec <bulb at ucw.cz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051026/611bb26b/attachment.pgp
More information about the bazaar
mailing list