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

update and revert bugs

From: Philip Martin <pmartin_at_uklinux.net>
Date: 2001-11-03 19:11:24 CET

Two, possibly related, bugs:

First, given an up-to-date directory containing an out of date file,
update on the file doesn't seem to work:

   $ svn st -uv .
   _ 11 .
   _ 10 ./bar.c
   Head revision: 11
   $ svn up bar.c
   $ svn st -uv .
   _ 11 .
   _ 10 ./bar.c
   Head revision: 11

It appears that the file difference does not get reported if the
directory is up to date.

Second, in this situation (file out-of-date in up-to-date directory)
the working copy can be corrupted as follows:

   $ svn del bar.c
   D bar.c
   $ svn add bar.c
   A bar.c
   $ svn revert bar.c
   Reverted bar.c
   $ svn st -uv

   svn_error: #21049 : <Filesystem has no such file>
     file not found: filesystem `/home/pm/sw/subversion/repository/trial/db', revision `0', path `bar.c'

I am using a subversion version with my new repository diff code, but
my changes don't touch the update or revert code.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:47 2006

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