After creating a repository containing a trunk and one branch, I try to
switch a subdirectory. First, let's create and setup the repos:
$ # ---- preparing the repository START
$ mkdir repos; svnadmin create repos
$ mkdir imp imp/trunk imp/trunk/subdir imp/branches
$ echo "line1-trunk" > imp/trunk/subdir/file1
$ svn import -m "" imp $REPOS
Committed revision 1.
$ svn cp -m "" $REPOS/trunk $REPOS/branches/br1
Committed revision 2.
$ svn checkout $REPOS/branches/br1
Checked out revision 2.
$ echo "line1-branch" > br1/subdir/file1
$ svn commit -m "" br1
Transmitting file data .
Committed revision 3.
$ rm -Rf imp br1
$ # ---- preparing the repository END
using the SVN CLI switching a subdirectory of a checked-out directory to
a branch works and looks like the following:
$ svn checkout $REPOS/trunk
Checked out revision 3.
$ cd trunk
$ svn switch $REPOS/branches/br1/subdir subdir
Updated to revision 3.
$ svn st
$ svnversion .
This means, SVN (both "svn" and "svnversion") is aware of the fact that
even if there are no local changes, it is a non-consistent checkout due
to the fact that "subdir" is now taken from a branch. This way I will
never miss this fact.
In TSVN, after switching the subdirectory to the branch in the same way,
I don't have any chance of monitoring this inconsistency of the
checked-out tree. "Check for Modifications", executed on the "trunk"
directory with the switched subdir, gives "file list is empty", and I
don't see any other option being equivalent to the CLI's "svn status".
So my question: Is there any way of noticing that the tree is
inconsistent related to subdirectory switching? Is anyone missing this
feature like me? :-)
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Tue Apr 18 12:30:21 2006