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

adding subdir messed up WC

From: ralf hecht <ralf_d_hecht_at_hotmail.com>
Date: 2004-03-28 18:06:14 CEST

We do have the following problem:

Our development environment creates in our WC a (empty) subdirectory - lets
call it "fast" – which does not need to be under version control (wheras its
parent directories is in svn). Now user A adds this directory it to svn,
whereas user B has an already checked out WC. He also has this directory
"fast" created - but not under svn. User B makes then an update. SVN stops
performing the update when it realizes that B has already the directory
"fast" but not yet under svn (good). Unfortunately, the WC may be afterwards
broken (bad): once it happend to us that an .svn directory was removed.

Example output: This is user B after user A added the directory
".../pro/fast" to svn. In this example, the WC is finally ok. But still the
svn status output is frightening - why does it tell us that the root
directory and the whole path down to "fast" are missing after the failed
update?

[DV] D:\dv\RH\fast\r027> svn status -u
? * sql\wat7\pro\fast
       * 34051 sql\wat7\pro
       * 34051 hooks\bkt.c
       * 34051 fkt\btchzuor.c
       * 34051 shl\appinit.c
       * 34051 dsc\apltypen.dsc
X goal
X base
X tool
Status against revision: 34053

Performing status on external item at 'goal'
Status against revision: 34053

Performing status on external item at 'base'
Status against revision: 34053

Performing status on external item at 'tool'
Status against revision: 34053

[DV] D:\dv\RH\fast\r027> svn update
svn: Failed to add directory 'sql/wat7/pro/fast': object of the same name
already exists

[DV] D:\dv\RH\fast\r027> svn status -u
? * sql\wat7\pro\fast
! * 34053 sql\wat7\pro
! 34053 sql\wat7
! 34053 sql
       * 34051 hooks\bkt.c
       * 34051 fkt\btchzuor.c
       * 34051 shl\appinit.c
       * 34051 dsc\apltypen.dsc
X goal
X base
X tool
! 34053 .
Status against revision: 34053

after user B removed the offending directory:

[DV] D:\dv\RH\fast\r027> svn status -u
       * sql\wat7\pro\fast
! * 34053 sql\wat7\pro
! 34053 sql\wat7
! 34053 sql
       * 34051 hooks\bkt.c
       * 34051 fkt\btchzuor.c
       * 34051 shl\appinit.c
       * 34051 dsc\apltypen.dsc
X goal
X base
X tool
! 34053 .
Status against revision: 34053

Performing status on external item at 'goal'
Status against revision: 34053

Performing status on external item at 'base'
Status against revision: 34053

Performing status on external item at 'tool'
Status against revision: 34053

[DV] D:\dv\RH\fast\r027> svn update
A sql\wat7\pro\fast
U hooks\bkt.c
U fkt\btchzuor.c
U shl\appinit.c
U dsc\apltypen.dsc
U .

Fetching external item into 'goal'
Updated external to revision 34053.

Fetching external item into 'base'
Updated external to revision 34053.

Fetching external item into 'tool'
Updated external to revision 34053.

Updated to revision 34053.

[DV] D:\dv\RH\fast\r027> svn update
A sql\wat7\pro\fast
U hooks\bkt.c
U fkt\btchzuor.c
U shl\appinit.c
U dsc\apltypen.dsc
U .

Fetching external item into 'goal'
Updated external to revision 34053.

Fetching external item into 'base'
Updated external to revision 34053.

Fetching external item into 'tool'
Updated external to revision 34053.

Updated to revision 34053.

This time nothing was really screwed up

_________________________________________________________________
Check out MSN PC Safety & Security to help ensure your PC is protected and
safe. http://specials.msn.com/msn/security.asp

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 29 18:08:42 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.