[MacPorts] #33573: Check "svn info" exit status instead of existence of ".svn" directory
MacPorts
noreply at macports.org
Fri Mar 9 23:19:55 PST 2012
#33573: Check "svn info" exit status instead of existence of ".svn" directory
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.0.4
Keywords: | Port:
-------------------------------------+--------------------------------------
When MacPorts is deciding whether a sync directory is a valid Subversion
working copy, it should use the "`$svn_cmd info`" command, throw away the
stdout and stderr, and check the exit code: if it's 0, it's a working copy
and we can continue with sync; if it's not 0, it's not a working copy and
we should abort.
[browser:trunk/base/src/macports1.0/macports.tcl?rev=90368#L2190
Currently] MacPorts decides whether a directory is a valid working copy
based on whether it contains an ".svn" directory. As of Subversion 1.7,
this is no longer the case except for the root directory of a working
copy, so [http://lists.macosforge.org/pipermail/macports-
dev/2012-March/018132.html some setups fail].
--
Ticket URL: <https://trac.macports.org/ticket/33573>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list