branch | stable |
changeset 16018 | ed9f40bc346f |
parent 15993 | 0b05e0bfdc1c |
child 16276 | 6b16ded5c810 |
--- a/mercurial/hg.py Sun Jan 29 12:59:21 2012 -0600 +++ b/mercurial/hg.py Sun Jan 29 13:36:10 2012 -0600 @@ -289,7 +289,7 @@ dircleanup = DirCleanup(dest) copy = False - if srcrepo.cancopy() and islocal(dest): + if srcrepo.cancopy() and islocal(dest) and not srcrepo.revs("secret()"): copy = not pull and not rev if copy: