bzr commands taking a filename
Erik Bågfors
zindar at gmail.com
Wed Dec 7 15:45:54 GMT 2005
2005/12/7, Matthieu Moy <Matthieu.Moy at imag.fr>:
> Hi,
>
> I got a surprising behavior with "bzr log" with a filename argument:
> when called from a subdirectory of the tree root, a relative filename
> still has to be given relative to the root.
>
> Actually, I think this is more general about any command taking a
> filename as argument (I already filled a bug for "ignore").
>
> (and in the case of "bzr log", there should also be a warning or even
> an error when an inexistant filename is provided as argument).
>
> --
> Matthieu
How do you mean here? i just tried
$ cd bzr.dev/bzrlib
$ bzr log log.py
no problem
$ bzr log ./log.py
no problem
$ bzr log export/dir_exporter.py
no problem.
Don't know about ignore, but since ignore is a pattern and not a file
name I find it quite obvious that the pattern has to match from the
root.
Otherwise, if I stand in bzrlib and run "bzr ignore *.foo", will
ROOT/*.foo be included? Only ROOT/bzrlib/*.foo?? It's a pattern and
not a file name.
btw, what does "Ignore a _command_ or pattern" mean? That's what I get
in "bzr help ignore"
Regards,
Erik
More information about the bazaar
mailing list