You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by St...@etas.de on 2004/09/20 16:01:51 UTC

Status inconsistent with c/i when using svn:externals

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
externals
- "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!

Stefan.


************************************
* 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

Re: Status inconsistent with c/i when using svn:externals

Posted by Max Bowsher <ma...@ukf.net>.
Stefan.Fuhrmann@etas.de wrote:
> 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
> externals
> - "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).

Doubtful.

> Since I didn't find an issue tracker item

http://subversion.tigris.org/issues/show_bug.cgi?id=1167

Max.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org