[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: "Error bumping revisions post-commit" after renaming directories

From: <duncan.loveday_at_bt.com>
Date: Thu, 7 Jan 2010 14:57:52 -0000

This zip has two almost identical cases where one works and one doesn't.

The difference is in one of the directory names. Perhaps this changes
the order in which the directories are processed ?

$ diff bug.sh worksOK.sh
8c8
< svn mv d1 d11

---
> svn mv d1 d12
13c13
< svn commit -m"Bug"
---
> svn commit -m"WorksOK"
$ 
$ 
$ ./bug.sh
Adding         import/a
Adding         import/a/b
Adding         import/a/b/c
Adding         import/a/b/c/d1
Adding         import/a/b/c/d1/file.txt
Adding         import/a/b/c/d2
Adding         import/a/b/c/d2/file.txt
Adding         import/x
Adding         import/x/y
Adding         import/x/y/z
Committed revision 1.
A    workarea/a
A    workarea/a/b
A    workarea/a/b/c
A    workarea/a/b/c/d1
A    workarea/a/b/c/d1/file.txt
A    workarea/a/b/c/d2
A    workarea/a/b/c/d2/file.txt
A    workarea/x
A    workarea/x/y
A    workarea/x/y/z
Checked out revision 1.
A         x/y/z/cc
D         a/b/c/d1/file.txt
D         a/b/c/d1
D         a/b/c/d2/file.txt
D         a/b/c/d2
D         a/b/c
A         d11
D         d1/file.txt
D         d1
A         d21
D         d2/file.txt
D         d2
D       a/b/c
D       a/b/c/d1
D       a/b/c/d1/file.txt
D       a/b/c/d2
D       a/b/c/d2/file.txt
A  +    x/y/z/cc
D       x/y/z/cc/d1
D       x/y/z/cc/d1/file.txt
D       x/y/z/cc/d2
D       x/y/z/cc/d2/file.txt
A  +    x/y/z/cc/d11
A  +    x/y/z/cc/d21
Deleting       a/b/c
Adding         x/y/z/cc
Deleting       x/y/z/cc/d1
Adding         x/y/z/cc/d11
Deleting       x/y/z/cc/d2
Adding         x/y/z/cc/d21
svn: Commit succeeded, but other errors follow:
svn: Error bumping revisions post-commit (details follow):
svn: Directory '/cygdrive/C/Temp/svnbug/workarea/x/y/z/cc/d2' is missing
svn: Directory '/cygdrive/C/Temp/svnbug/workarea/x/y/z/cc/d2' is missing
D       a/b/c
D       a/b/c/d1
D       a/b/c/d1/file.txt
D       a/b/c/d2
D       a/b/c/d2/file.txt
A  +    x/y/z/cc
A  +    x/y/z/cc/d21
$ 
$ 
$ 
$ ./worksOK.sh 
Adding         import/a
Adding         import/a/b
Adding         import/a/b/c
Adding         import/a/b/c/d1
Adding         import/a/b/c/d1/file.txt
Adding         import/a/b/c/d2
Adding         import/a/b/c/d2/file.txt
Adding         import/x
Adding         import/x/y
Adding         import/x/y/z
Committed revision 1.
A    workarea/a
A    workarea/a/b
A    workarea/a/b/c
A    workarea/a/b/c/d1
A    workarea/a/b/c/d1/file.txt
A    workarea/a/b/c/d2
A    workarea/a/b/c/d2/file.txt
A    workarea/x
A    workarea/x/y
A    workarea/x/y/z
Checked out revision 1.
A         x/y/z/cc
D         a/b/c/d1/file.txt
D         a/b/c/d1
D         a/b/c/d2/file.txt
D         a/b/c/d2
D         a/b/c
A         d12
D         d1/file.txt
D         d1
A         d21
D         d2/file.txt
D         d2
D       a/b/c
D       a/b/c/d1
D       a/b/c/d1/file.txt
D       a/b/c/d2
D       a/b/c/d2/file.txt
A  +    x/y/z/cc
D       x/y/z/cc/d1
D       x/y/z/cc/d1/file.txt
D       x/y/z/cc/d2
D       x/y/z/cc/d2/file.txt
A  +    x/y/z/cc/d12
A  +    x/y/z/cc/d21
Deleting       a/b/c
Adding         x/y/z/cc
Deleting       x/y/z/cc/d1
Adding         x/y/z/cc/d12
Deleting       x/y/z/cc/d2
Adding         x/y/z/cc/d21
Committed revision 2.
$  

Received on 2010-01-07 15:58:38 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.