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

FSFS bug with mixed revision commit

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-05-16 23:11:15 CEST


Below is a reproduction recipe for what I think is a bug in FSFS. That's
the bug that got triggered by r14738. It copies a dir at revision 1 with a
file at revision 2 that is also modified. Any suggestions?

Script started on Mon May 16 22:57:53 2005
pl@fnapp:~/svntest$ svnadmin create repo
pl_at_fnapp:~/svntest$ export R=file://`pwd`/repo
pl@fnapp:~/svntest$ svn co $R wc
Checked out revision 0.
pl@fnapp:~/svntest$ cd wc
pl@fnapp:~/svntest/wc$ svn mkdir a
A a
pl@fnapp:~/svntest/wc$ touch a/f
pl@fnapp:~/svntest/wc$ svn add a/f
A a/f
pl@fnapp:~/svntest/wc$ svn ci -m m
Adding a
Adding a/f
Transmitting file data .
Committed revision 1.
pl@fnapp:~/svntest/wc$ echo hej > a/f
pl@fnapp:~/svntest/wc$ svn ci -m m
Sending a/f
Transmitting file data .
Committed revision 2.
pl@fnapp:~/svntest/wc$ svn up -r1
U a/f
Updated to revision 1.
pl@fnapp:~/svntest/wc$ svn up a/f
U a/f
Updated to revision 2.
pl@fnapp:~/svntest/wc$ echo hoj > a/f
pl@fnapp:~/svntest/wc$ cat a/.svn/entries
<?xml version="1.0" encoding="utf-8"?>
pl@fnapp:~/svntest/wc$ svn cp a $R/b -m 'mixed wc copy'
subversion/libsvn_client/copy.c:544: (apr_err=160004)
svn: Commit failed (details follow):
subversion/libsvn_fs_fs/fs_fs.c:1973: (apr_err=160004)
svn: Invalid change ordering: new node revision ID without delete
Script done on Mon May 16 23:03:02 2005


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon May 16 23:02:56 2005

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.