Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#33573 closed enhancement (duplicate)

Check "svn info" exit status instead of existence of ".svn" directory

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.0.4
Keywords: Cc: mkae (Marko Käning)
Port:

Description

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.

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 some setups fail.

Change History (4)

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Milestone: MacPorts Future
Resolution: fixed
Status: newclosed

comment:2 Changed 13 years ago by mkae (Marko Käning)

Cc: mk@… added

Cc Me!

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Milestone: MacPorts FutureMacPorts 2.0.5

Thanks. Added to ChangeLog in r90692 and merged to 2.0 branch in r90693.

comment:4 Changed 13 years ago by jmroot (Joshua Root)

Milestone: MacPorts 2.1.0
Resolution: fixedduplicate

Actually a dupe of #31644.

Note: See TracTickets for help on using tickets.