Jose M. Moya
2008-07-28 15:38:38 UTC
dt commit renames the local issues before being sure that those ids
can be actually used.
If someone has added a new issue to the db, a commit of my local
issues without a previous update leaves my working copy in a very bad
state.
test case:
rm -rf /tmp/TEST
svnadmin create /tmp/TEST
dt-createdb file:///tmp/TEST issues wrk
svn add wrk/issues/format
whoami >> wrk/issues/etc/users
svn -m "created test issues db" commit wrk/issues
svn co file:///tmp/TEST wrk2
dt -d wrk/issues new
dt -d wrk2/issues new -n
dt -d wrk2/issues commit
after runing this test case, the issue database seems to be broken:
$ dt -d wrk2/issues update
svn: Failed to add directory 'data/i1': object of the same name already exists
Database update failed: 'svn update' didn't succeed
$ svn up wrk2/issues
svn: Failed to add directory 'wrk2/issues/data/i1': object of the same
name already exists
any clue?
regards,
josem
can be actually used.
If someone has added a new issue to the db, a commit of my local
issues without a previous update leaves my working copy in a very bad
state.
test case:
rm -rf /tmp/TEST
svnadmin create /tmp/TEST
dt-createdb file:///tmp/TEST issues wrk
svn add wrk/issues/format
whoami >> wrk/issues/etc/users
svn -m "created test issues db" commit wrk/issues
svn co file:///tmp/TEST wrk2
dt -d wrk/issues new
dt -d wrk2/issues new -n
dt -d wrk2/issues commit
after runing this test case, the issue database seems to be broken:
$ dt -d wrk2/issues update
svn: Failed to add directory 'data/i1': object of the same name already exists
Database update failed: 'svn update' didn't succeed
$ svn up wrk2/issues
svn: Failed to add directory 'wrk2/issues/data/i1': object of the same
name already exists
any clue?
regards,
josem