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

svn add xyz; svn commit xyz; svn ls xyz;

From: Johannes Holzer <hl-svn_at_arcor.de>
Date: 2006-03-21 15:37:31 CET

Hi there

I guess, this problem is known:

If i add or remove a file and commit it, "svn ls" does not know the changed
until an "svn update".

This is a quite strange behavior, if you are a user.....

If there exists a bug, please point me to it. If possible, i'll vote for this
bug.

johannes

Exact steps to reproduce: (linux, LANG=C)

$:/tmp/svntest> svnadmin create REP
$:/tmp/svntest> svn co file://`pwd`/REP CHECKOUT
Checked out revision 0.
$:/tmp/svntest> cd CHECKOUT/
$:/tmp/svntest/CHECKOUT> touch MY_FILENAME
$:/tmp/svntest/CHECKOUT> svn add MY_FILENAME
A MY_FILENAME
$:/tmp/svntest/CHECKOUT> svn ls
$:/tmp/svntest/CHECKOUT> svn ci MY_FILENAME
Adding MY_FILENAME
Transmitting file data .
Committed revision 1.
$:/tmp/svntest/CHECKOUT> svn ls
$:/tmp/svntest/CHECKOUT> # <<--------- I EXPECT TO SEE MY_FILENAME HERE!
$:/tmp/svntest/CHECKOUT> svn up
At revision 1.
$:/tmp/svntest/CHECKOUT> svn ls
MY_FILENAME
$:/tmp/svntest/CHECKOUT> svn rm MY_FILENAME
D MY_FILENAME
$:/tmp/svntest/CHECKOUT> ls
$:/tmp/svntest/CHECKOUT> svn ls
MY_FILENAME
$:/tmp/svntest/CHECKOUT> svn ci MY_FILENAME
Deleting MY_FILENAME

Committed revision 2.
$:/tmp/svntest/CHECKOUT> svn ls
MY_FILENAME
$:/tmp/svntest/CHECKOUT> # <<------- I EXPECT _NOT_ TO SEE MY_FILENAME HERE!
$:/tmp/svntest/CHECKOUT> svn up
At revision 2.
$:/tmp/svntest/CHECKOUT> svn ls
$:/tmp/svntest/CHECKOUT>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 21 15:44:22 2006

This is an archived mail posted to the Subversion Users mailing list.