commit --exclude should NOT exclude TREE_ROOT
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned | ||
Bazaar Explorer |
Invalid
|
Undecided
|
Unassigned | ||
Breezy |
Fix Released
|
Medium
|
Jelmer Vernooij | ||
QBzr |
Invalid
|
Undecided
|
Unassigned |
Bug Description
If branch has no commits, then --exclude `bzr root` fails. It's working OK if there is at least one commit.
C:\Temp>mkdir 4
C:\Temp>cd 4
C:\Temp\4>
C:\Temp\4>bzr init
Standalone tree (format: pack-0.92)
Location:
branch root: .
C:\Temp\4>bzr ci -m test --exclude . --unchanged
Committing to: C:/Temp/4/
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
AssertionError: Root entry should be supplied to record_
bzr 1.9 on python 2.5.2 (win32)
arguments: ['C:\\Program Files\\
encoding: 'cp1251', fsenc: 'mbcs', lang: 'ru'
plugins:
acad C:\work\
bzrtools C:\Program Files\Bazaar\
launchpad C:\Program Files\Bazaar\
qbzr C:\work\
rebase C:\work\
repo_push C:\work\
svn C:\Program Files\Bazaar\
x_bit C:\work\
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
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 bzr-explorer: | |
status: | New → Won't Fix |
status: | Won't Fix → Invalid |
Changed in qbzr: | |
status: | New → Invalid |
tags: | added: commit |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Jelmer Vernooij (jelmer) |
Changed in brz: | |
status: | Triaged → Fix Released |
milestone: | none → 3.0.0 |
Interesting bug..
status triaged samba.org/ ~jelmer/
importance medium
--
Jelmer Vernooij <email address hidden> - http://
Jabber: <email address hidden>