revert: do smart revert on items with modified properties as well

This commit is contained in:
Josh Holtrop 2013-03-20 10:11:06 -04:00
parent 941f487292
commit a23c74a70a

3
jsvn
View File

@ -1235,7 +1235,8 @@ def revert_h(argv, svn, out, config):
m = re.match(STATUS_LINE_REGEX, line)
if m is not None:
action = line[0]
if action in ('A', 'M', 'D'):
prop_action = line[1]
if action in ('A', 'M', 'D') or prop_action == 'M':
fname = m.group(1)
for target in argv:
if fname.startswith(os.getcwd() + os.sep):