`bzr commit -m foo` should not suggest me invalid `--file foo` when foo is directory
Bug #570251 reported by
Alexander Belchenko
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned |
Bug Description
Steps to reproduce:
bzr init
bzr mkdir foo
bzr ci -m foo
And I've got this spam message:
C:\Temp\1>bzr ci -m "foo"
bzr: warning: The commit message is a file name: "foo".
(use --file "foo" to take commit message from that file)
Committing to: C:/Temp/1/
added foo
Committed revision 1.
"foo" is directory there. Dear bzr, don't be so fool and don't lie me about `--file foo`. It's simply not true.
tags: | added: check-for-breezy |
To post a comment you must log in.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 04/26/2010 11:46 AM, Alexander Belchenko wrote:
> And I've got this spam message:
>
> C:\Temp\1>bzr ci -m "foo"
> bzr: warning: The commit message is a file name: "foo".
> (use --file "foo" to take commit message from that file)
This message exists because users would do "commit -m foo" when they
meant to specify foo as a file to commit.
See: https:/ /bugs.edge. launchpad. net/bzr/ +bug/73073
> "foo" is directory there. Dear bzr, don't be so fool and don't lie me
> about `--file foo`. It's simply not true.
It's true that in this case foo cannot be used for a commit message.
It's somewhat hazier to claim that "foo" is not a file. One of the Unix
mantras is "everything is a file", and this includes directories,
symlinks, etc.
Aaron enigmail. mozdev. org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkv WKi0ACgkQ0F+ nu1YWqI0JtQCfUJ wA0nWYTX6SY/ Zs0rUCpvyP 3uADbV8QNabw6oQ lb
MdgAnimhMqNfLmQ
=LVF8
-----END PGP SIGNATURE-----