warn when commit -m argument is omitted
Bug #73073 reported by
Martin Pool
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Wishlist
|
Gioele Barabucci |
Bug Description
On 23/11/2006, at 2:54 AM, Matthew Hannigan wrote:
For what it's worth, svn detects this; it won't commit
(unless forced) if the message is also a file name:
$ svn commit -m blah.txt
svn: The log message is a pathname (was -F intended?);
use '--force-log' to override
Hacky but it's saved me a few times.
Related branches
lp:~gioele/bzr/forgot-commit-message
- Vincent Ladeuil: Approve
- Ian Clatworthy: Approve
- John A Meinel: Needs Information
-
Diff: 37 lines (+16/-0)2 files modifiedbzrlib/builtins.py (+8/-0)
bzrlib/tests/blackbox/test_commit.py (+8/-0)
lp:~vila/bzr/integration2
(Merged)
Changed in bzr: | |
importance: | Undecided → Wishlist |
Changed in bzr: | |
status: | Unconfirmed → Confirmed |
Changed in bzr: | |
status: | Confirmed → In Progress |
Changed in bzr: | |
assignee: | nobody → Gioele Barabucci (gioele) |
status: | In Progress → Fix Committed |
milestone: | none → 2.1.0b4 |
Changed in bzr: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Because it's safe and easy to uncommit in bzr this is less serious than in svn. We could just give a warning.