"svn update --set-depth=exclude" exits prematurely, leaving repo in need of cleanup
From: Jim Barry <jim_at_chez-jim.net>
Date: Mon, 27 Jun 2016 14:51:48 +0000 (UTC)
When excluding a subtree from the working copy, if any unversioned items
This is with version 1.9.4, the current release.
Reproducing the problem is fairly straightforward. Create a new repo (or
$ svnadmin create repo
Add a directory and subdirectory:
$ cd wc
Create another subdirectory, without adding it to the repo:
$ mkdir dir/subdir2
Now, let's exclude "dir" from the working copy:
$ svn update --set-depth exclude dir
OK, so svn says it has deleted "dir/subdir1", but has left "dir" alone.
But wait - let's take a peek:
$ ls dir
Huh? What is "subdir1" still doing there? Let's quickly do a regular
$ svn update
Oooh, that's not good! Let's take a closer look:
$ svn status
Yikes! Looks like svn bailed out without finishing the job.
This must be a bug, right? Any chance somebody can take a look at it?
Thanks!
|
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.