http://subversion.tigris.org/issues/show_bug.cgi?id=3011
Issue #|3011
Summary|Improve 'svn add --force TARGET'
handling
Component|subversion
Version|trunk
Platform|All
URL|
OS/Version|All
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|libsvn_client
Assigned to|issues subversion
Reported by|cmpilato
------- Additional comments from cmpilato tigris.org Mon Nov 5 06:31:14 -0800 2007 -------
The Subversion command-line client allows one to run 'svn
add --force' on an
already-versioned directory, the result of which is a
recursive crawl for
unversioned items within that directory, and scheduled
addition of any such
items found. This works fine when invoked inside the target
directory ("cd
versioned-dir && svn add --force ."). But the
behavior is inconsistent when
invoked from outside the target. All is well if the parent
directory of the
target is versioned, but not so much otherwise.
To some degree, this might be attributed to the ambiguity of
the request. Does
'svn add --force some/dir' mean "I'd like to crawl
some/dir and add any of its
unversioned children" or "I'd like to add 'dir' as
a new child of 'some'" ? In
the latter case, it makes sense that Subversion would fuss
when 'some' isn't
versioned; in the former, we kinda wish stuff would work.
------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribe subversion.tigris.org
For additional commands, e-mail: issues-help subversion.tigris.org
|