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

Status inconsistent with c/i when using svn:externals

From: <Stefan.Fuhrmann_at_etas.de>
Date: 2004-09-20 18:01:51 CEST

Hi dev,

I reproduced the following with SVN 1.0.6 under W2K Pro. See below
for reproduction script.

When using externals, the behavior of "svn ci" is at least inconvenient:
- "svn st" will show changes to the "ordinary" folders as well as to
- "svn ci" will only commit the changes in "ordinary" folders. Externals
  will not be processed, even if they refer to the same repository.

I believe, some earlier (late 0.x ) version worked as expected (did the
commit on the externals, too). Since I didn't find an issue tracker item
for this, I would like to know what the intended / designed behavior is.

BTW: Thanks for SVN!


* SvnExternalsInconsitency.bat

' cleanup

rd /s /q C:\temp\repos
rd /s /q wc

' just for the protocol ..

svnadmin --version
svn --version

' create repository, wc and two folders

svnadmin create C:/temp/repos
svn co file:///C:/temp/repos wc

cd wc
md project
svn add project
md ext
svn add ext
svn ci -m "create two projects"

' use on as a sub-folder of the other

svn propset svn:externals "sub file:///C:/temp/repos/ext" project
svn ci -m "use ext in project"
svn up project

' make changes in both folders

cd project
echo "local data" > inProject.txt
svn add inProject.txt

cd sub
echo "external data" > inExt.txt
svn add inExt.txt

' status will show all changes

cd ..
svn st

' hm. The following will only commit those changes
' that are not in externals

svn ci -m "This will not commit changes in externals!"

' just re-checking. The changes to the externals have
' not been committed

svn st

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Sep 20 18:02:14 2004

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.