Spurious PointlessCommit from 'bzr commit -x' that would only commit deletes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
High
|
Unassigned | ||
Breezy |
Triaged
|
High
|
Jelmer Vernooij |
Bug Description
I was asked to submit a bug by jelmer, i'm including a snippet of the irc convo, and the pastebins at the bottom.
11:55:17 < Kamping_Kaiser> hi all, i just tried to commit the deltion of some files (-x 'd two modified files), and bzr told me an empty commit was pointless http://
12:00:32 < jelmer_> Kamping_Kaiser, what happens if you run "bzr rm" first?
12:05:24 < Kamping_Kaiser> jelmer_: if i run bzr rm on the tree as is it gives the same error. shall i try restoring the files then bzr rming them?
12:08:12 < jelmer_> Kamping_Kaiser: It should at least give a slightly different error (removed vs missing)
12:10:26 < Kamping_Kaiser> jelmer_: http://
12:11:41 < jelmer_> Kamping_Kaiser, that's odd indeed, please file a bug
12:12:44 < Kamping_Kaiser> jelmer_: should i include the contents of those pastes?
12:12:55 < Kamping_Kaiser> and is there anything else that would be handy? (repo state, etc)
12:13:32 < jelmer_> Kamping_Kaiser: I'm not sure; given I've never seen this and I never use -x I would be inclined to blame -x
12:14:00 < Kamping_Kaiser> ok. i'll tar it up and hang onto it for a few weeks incase its requested
12:14:31 < jelmer> Kamping_Kaiser, thanks :)
12:14:39 < Kamping_Kaiser> np :)
paste 119678 is:
21:52:53 kgoetz@epicfail: ~/Desktop/
Committing to: /home/kgoetz/
missing debian/
missing debian/
missing debian/docs
aborting commit write group: PointlessCommit(No changes to commit)
bzr: ERROR: No changes to commit. Use --unchanged to commit anyhow.
21:52:56 kgoetz@epicfail: ~/Desktop/
removed:
debian/
debian/
debian/docs
modified:
debian/control
debian/copyright
paste 119679 is:
21:55:44 kgoetz@epicfail: ~/Desktop/
bzr: ERROR: Can't safely remove modified or unknown files:
removed:
debian/
debian/
modified:
debian/docs
Use --keep to not delete them, or --force to delete them regardless.
22:04:25 kgoetz@epicfail: ~/Desktop/
removed:
debian/
debian/
modified:
debian/control
debian/copyright
debian/docs
22:04:31 kgoetz@epicfail: ~/Desktop/
22:04:34 kgoetz@epicfail: ~/Desktop/
debian/docs does not exist.
debian/
debian/
22:04:37 kgoetz@epicfail: ~/Desktop/
removed:
debian/
debian/
debian/docs
modified:
debian/control
debian/copyright
22:04:39 kgoetz@epicfail: ~/Desktop/
Committing to: /home/kgoetz/
bzr: ERROR: No changes to commit. Please 'bzr add' the files you want to commit, or use --unchanged to force an empty commit.
bzr: warning: some compiled extensions could not be loaded; see <https:/
22:04:44 kgoetz@epicfail: ~/Desktop/
Related branches
- Martin Packman: Approve
-
Diff: 138 lines (+70/-5)3 files modifiedbreezy/commit.py (+29/-4)
breezy/tests/test_commit.py (+38/-1)
doc/en/release-notes/brz-3.0.txt (+3/-0)
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Jelmer Vernooij (jelmer) |
milestone: | none → 3.0.0 |
Some version info:
22:19:26 kgoetz@epicfail: ~ $ lsb_release -a src/bzr 6.32-5- 686-bigmem- i686-with- debian- 6.0.1 src/bzr/ bzrlib .bazaar .bzr.log
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 6.0.1 (squeeze)
Release: 6.0.1
Codename: squeeze
22:19:28 kgoetz@epicfail: ~ $ bbzr --version
Bazaar (bzr) 2.4.0dev4
from bzr checkout /home/kgoetz/
revision: 5967
revid: <email address hidden>
branch nick: bzr
Python interpreter: /usr/bin/python 2.6.6
Python standard library: /usr/lib/python2.6
Platform: Linux-2.
bzrlib: /home/kgoetz/
Bazaar configuration: /home/kgoetz/
Bazaar log file: /home/kgoetz/
Copyright 2005-2011 Canonical Ltd. bazaar. canonical. com/
http://
bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.
Bazaar is part of the GNU Project to produce a free operating system.
bzr: warning: some compiled extensions could not be loaded; see <https:/ /answers. launchpad. net/bzr/ +faq/703> 6.32-5- 686-bigmem- i686-with- debian- 6.0.1 python2. 6/dist- packages/ bzrlib .bazaar .bzr.log
22:19:32 kgoetz@epicfail: ~ $ bzr --version
Bazaar (bzr) 2.1.2
Python interpreter: /usr/bin/python 2.6.6
Python standard library: /usr/lib/python2.6
Platform: Linux-2.
bzrlib: /usr/lib/
Bazaar configuration: /home/kgoetz/
Bazaar log file: /home/kgoetz/
Copyright 2005-2010 Canonical Ltd. bazaar- vcs.org/
http://
bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.
Bazaar is part of the GNU Project to produce a free operating system.