InconsistentDelta error when moving a modified file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
High
|
Unassigned |
Bug Description
As reported on mailing list ("Strange error on move operation", Sun, 01 Nov 2009 10:49:39 +0100, Message-ID: <hcjljk$n3k$<email address hidden>>)
> bzr version
Bazaar (bzr) 2.0.0
Python interpreter: C:\PrgCmdLine\
Python standard library: C:\PrgCmdLine\
Platform: Windows-
Branch upgraded from some previous version to 2.0 recently.
Using Windows Explorer on XP, I created a pair of directories and moved some files there.
I tried to move them automatically:
> bzr st
removed:
_SmallProgram
_SmallProgram
_SmallProgram
_SmallProgram
_SmallProgram
_SmallProgram
_SmallProgram
_SmallProgram
unknown:
_SmallProgram
_SmallProgram
D:\_PhiLhoSoft\
> bzr mv --auto
_SmallPrograms => _SmallPrograms/
_SmallPrograms/
_SmallPrograms/
bzr: ERROR: An inconsistent delta was supplied involving u'_SmallProgram
reason: Missing parent
Ouch. Perhaps I made a mistake, but it isn't a very friendly message...
Log trace:
dim. 2009-11-01 10:36:40 +0100
0.156 bzr arguments: [u'mv', u'--auto']
0.171 looking for plugins in D:/_PhiLhoDocs/
0.312 looking for plugins in C:/PrgCmdLine/
0.312 Plugin name xmloutput already loaded
0.437 encoding stdout as sys.stdout encoding 'cp850'
0.500 opening working tree 'D:/_PhiLhoSoft
[ 3496] 2009-11-01 10:36:41.171 INFO: _SmallPrograms => _SmallPrograms/
[ 3496] 2009-11-01 10:36:41.171 INFO: _SmallPrograms/
[ 3496] 2009-11-01 10:36:41.171 INFO: _SmallPrograms/
0.796 Not saving DirState because _changes_aborted is set.
0.796 Not saving DirState because _changes_aborted is set.
0.812 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\
InconsistentDelta: An inconsistent delta was supplied involving u'_SmallProgram
reason: Missing parent
0.812 return code 3
I solved the issue:
> bzr add --no-recurse _SmallPrograms/
adding _SmallPrograms/
adding _SmallPrograms/
D:\_PhiLhoSoft\
> bzr mv --auto
_SmallPrograms/
_SmallPrograms/
_SmallPrograms/
_SmallPrograms/
_SmallPrograms/
_SmallPrograms/
_SmallPrograms/
_SmallPrograms/
but I thought it was worth reporting it...
Additional info: the GimpGradient.fx file was modified and not commited.
I reproduced it in a small test repository:
> bzr init ShowBug
Created a standalone tree (format: 2a)
> cd ShowBug
> bzr add
adding AppDesc.java
adding RunApp.java
adding StreamGobbler.java
> bzr commit -m "Initial commit"
Committing to: D:/Temp/
added AppDesc.java
added RunApp.java
added StreamGobbler.java
Committed revision 1.
> bzr st
modified:
RunApp.java
> bzr commit -m "Little change"
Committing to: D:/Temp/
modified RunApp.java
Committed revision 2.
> mkdir Sub
> bzr st
modified:
RunApp.java
unknown:
Sub/
> mv RunApp.java Sub
> mv AppDesc.java Sub
> bzr st
removed:
AppDesc.java
RunApp.java
unknown:
Sub/
> bzr mv --auto
=> Sub
bzr: ERROR: An inconsistent delta was supplied involving u'', 'tree_root-
reason: This parent is not present.
> bzr add --no-recurse Sub
adding Sub
> bzr mv --auto
AppDesc.java => Sub/AppDesc.java
RunApp.java => Sub/RunApp.java
Log trace:
lun. 2009-11-02 08:34:19 +0100
0.156 bzr arguments: [u'init', u'ShowBug']
0.172 looking for plugins in D:/_PhiLhoDocs/
0.312 looking for plugins in C:/PrgCmdLine/
0.312 Plugin name xmloutput already loaded
0.422 encoding stdout as sys.stdout encoding 'cp850'
0.500 creating repository in file://
0.547 creating branch <bzrlib.
0.594 opening working tree 'D:/Temp/
0.656 opening working tree 'D:/Temp/
0.672 return code 0
lun. 2009-11-02 08:34:51 +0100
0.140 bzr arguments: [u'add']
0.156 looking for plugins in D:/_PhiLhoDocs/
0.296 looking for plugins in C:/PrgCmdLine/
0.296 Plugin name xmloutput already loaded
0.406 encoding stdout as sys.stdout encoding 'cp850'
0.468 opening working tree 'D:/Temp/
0.484 skip control directory '.bzr'
0.531 return code 0
lun. 2009-11-02 08:35:05 +0100
0.141 bzr arguments: [u'commit', u'-m', u'Initial commit']
0.157 looking for plugins in D:/_PhiLhoDocs/
0.297 looking for plugins in C:/PrgCmdLine/
0.297 Plugin name xmloutput already loaded
0.422 encoding stdout as sys.stdout encoding 'cp850'
0.485 opening working tree 'D:/Temp/
0.532 preparing to commit
[ 4028] 2009-11-02 08:35:06.375 INFO: Committing to: D:/Temp/
0.532 Selecting files for commit with filter None
[ 4028] 2009-11-02 08:35:06.390 INFO: added AppDesc.java
[ 4028] 2009-11-02 08:35:06.405 INFO: added RunApp.java
[ 4028] 2009-11-02 08:35:06.405 INFO: added StreamGobbler.java
[ 4028] 2009-11-02 08:35:06.483 INFO: Committed revision 1.
0.641 return code 0
lun. 2009-11-02 08:35:29 +0100
0.125 bzr arguments: [u'st']
0.156 looking for plugins in D:/_PhiLhoDocs/
0.281 looking for plugins in C:/PrgCmdLine/
0.281 Plugin name xmloutput already loaded
0.406 encoding stdout as sys.stdout encoding 'cp850'
0.453 opening working tree 'D:/Temp/
0.468 check paths: None
0.484 return code 0
lun. 2009-11-02 08:35:38 +0100
0.141 bzr arguments: [u'commit', u'-m', u'Little change']
0.156 looking for plugins in D:/_PhiLhoDocs/
0.281 looking for plugins in C:/PrgCmdLine/
0.281 Plugin name xmloutput already loaded
0.406 encoding stdout as sys.stdout encoding 'cp850'
0.469 opening working tree 'D:/Temp/
0.484 preparing to commit
[ 2956] 2009-11-02 08:35:39.108 INFO: Committing to: D:/Temp/
0.500 Selecting files for commit with filter None
[ 2956] 2009-11-02 08:35:39.125 INFO: modified RunApp.java
[ 2956] 2009-11-02 08:35:39.217 INFO: Committed revision 2.
0.625 return code 0
lun. 2009-11-02 08:36:20 +0100
0.141 bzr arguments: [u'st']
0.156 looking for plugins in D:/_PhiLhoDocs/
0.297 looking for plugins in C:/PrgCmdLine/
0.297 Plugin name xmloutput already loaded
0.406 encoding stdout as sys.stdout encoding 'cp850'
0.469 opening working tree 'D:/Temp/
0.469 check paths: None
0.500 return code 0
lun. 2009-11-02 08:36:42 +0100
0.141 bzr arguments: [u'st']
0.157 looking for plugins in D:/_PhiLhoDocs/
0.297 looking for plugins in C:/PrgCmdLine/
0.297 Plugin name xmloutput already loaded
0.407 encoding stdout as sys.stdout encoding 'cp850'
0.469 opening working tree 'D:/Temp/
0.485 check paths: None
0.500 return code 0
lun. 2009-11-02 08:37:00 +0100
0.141 bzr arguments: [u'mv', u'--auto']
0.156 looking for plugins in D:/_PhiLhoDocs/
0.281 looking for plugins in C:/PrgCmdLine/
0.281 Plugin name xmloutput already loaded
0.406 encoding stdout as sys.stdout encoding 'cp850'
0.469 opening working tree 'D:/Temp/
[ 3052] 2009-11-02 08:37:00.875 INFO: => Sub
0.531 Not saving DirState because _changes_aborted is set.
0.531 Not saving DirState because _changes_aborted is set.
0.531 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\
InconsistentDelta: An inconsistent delta was supplied involving u'', 'tree_root-
reason: This parent is not present.
0.531 return code 3
lun. 2009-11-02 08:38:10 +0100
0.140 bzr arguments: [u'add', u'--no-recurse', u'Sub']
0.156 looking for plugins in D:/_PhiLhoDocs/
0.281 looking for plugins in C:/PrgCmdLine/
0.281 Plugin name xmloutput already loaded
0.406 encoding stdout as sys.stdout encoding 'cp850'
0.469 opening working tree 'D:/Temp/
0.500 return code 0
lun. 2009-11-02 08:38:19 +0100
0.125 bzr arguments: [u'mv', u'--auto']
0.140 looking for plugins in D:/_PhiLhoDocs/
0.281 looking for plugins in C:/PrgCmdLine/
0.281 Plugin name xmloutput already loaded
0.421 encoding stdout as sys.stdout encoding 'cp850'
0.484 opening working tree 'D:/Temp/
[ 3440] 2009-11-02 08:38:19.780 INFO: AppDesc.java => Sub/AppDesc.java
[ 3440] 2009-11-02 08:38:19.780 INFO: RunApp.java => Sub/RunApp.java
0.531 return code 0
Changed in bzr: | |
status: | New → Fix Committed |
importance: | Undecided → High |
summary: |
- Bad error message when moving a modified file + InconsistentDelta error when moving a modified file |
Changed in bzr: | |
status: | Fix Committed → Confirmed |