Mercurial > hgsubversion
diff fetch_command.py @ 184:d3ea6c98a086
Do not recurse for externals on copied directory in stupid mode
We inherit the source externals, changes to children will appear in the
changelog.
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Wed, 14 Jan 2009 23:17:13 -0600 |
parents | 47d25d61abfa |
children | 57355b0e7bd1 |
line wrap: on
line diff
--- a/fetch_command.py +++ b/fetch_command.py @@ -458,7 +458,9 @@ def stupid_fetch_externals(svn, branchpa continue path = path[len(branchprefix):] dirs.add(path) - if e.action == 'M': + if e.action == 'M' or (e.action == 'A' and e.copyfrom_path): + # Do not recurse in copied directories, changes are marked + # as 'M', except for the copied one. continue for child, k in svn.list_files(branchprefix + path, r.revnum): if k == 'd':