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

Recipe for non recursive commit bug

From: Francois Beausoleil <fbos_at_users.sourceforge.net>
Date: 2003-08-26 03:43:26 CEST

Hello everyone,

Would someone try the following recipe and tell me if it works for them ?
 I reported a problem with non-recursive commits a few days ago
(http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=43681), but
cmpilato pointed out to me that I was using the wrong folder.

Today, I got the same problem, but this time, I had the right folder.
So, I wrote a reproduction recipe. If someone else can confirm the
problem, I will post a new issue.

Thanks !
François Beausoleil

Reproduction recipe
-------------------
svnadmin create repos
svn co file:///repos wc
cd wc
mkdir dirA\dirB
echo >dirA/dirB/fileA "fileA's content"
svn add dirA
svn commit -m "Adding files"
echo >dirA/dirB/fileA "fileA's modified content"
echo >dirA/fileB "fileB's content"
svn add dirA/fileB
svn st
svn commit --non-recursive -m "Does not work" dirA
svn commit -m "Works, but is recursive" dirA

Here are the results on my machine (Win2K SP4 fr_CA):

H:\>svn --version
svn, version 0.27.0 (r6715)
   compiled Aug 20 2003, 02:19:40

H:\>svnadmin create repos

H:\>svn co file:///repos wc
Checked out revision 0.

H:\>cd wc

H:\wc>mkdir dirA\dirB

H:\wc>echo "fileA's content" 1>dirA/dirB/fileA

H:\wc>svn add dirA
A dirA
A dirA\dirB
A dirA\dirB\fileA

H:\wc>svn commit -m "Adding files"
Adding dirA
Adding dirA\dirB
Adding dirA\dirB\fileA
Transmitting file data .
Committed revision 1.

H:\wc>echo "fileA's modified content" 1>dirA/dirB/fileA

H:\wc>echo "fileB's content" 1>dirA/fileB

H:\wc>svn add dirA/fileB
A dirA\fileB

H:\wc>svn st
M dirA\dirB\fileA
A dirA\fileB

H:\wc>svn commit --non-recursive -m "Does not work" dirA

H:\wc>svn commit -m "Works, but is recursive" dirA
Sending dirA\dirB\fileA
Adding dirA\fileB
Transmitting file data ..
Committed revision 2.
Developer of Java Gui Builder
http://jgb.sourceforge.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 26 03:44:22 2003

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.