Mercurial > public > mercurial-scm > hg
comparison mercurial/patch.py @ 2863:f3c68e0ca37d
Remove debugging line
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Fri, 11 Aug 2006 16:55:48 -0700 |
parents | 0f08f2c042ec |
children | 71e78f2ca5ae |
comparison
equal
deleted
inserted
replaced
2862:1f813d4fbcc8 | 2863:f3c68e0ca37d |
---|---|
92 p.path) | 92 p.path) |
93 | 93 |
94 (src, dst) = [os.path.join(os.getcwd(), n) | 94 (src, dst) = [os.path.join(os.getcwd(), n) |
95 for n in (p.oldpath, p.path)] | 95 for n in (p.oldpath, p.path)] |
96 | 96 |
97 print "copying %s to %s" % (src, dst) | |
98 targetdir = os.path.dirname(dst) | 97 targetdir = os.path.dirname(dst) |
99 if not os.path.isdir(targetdir): | 98 if not os.path.isdir(targetdir): |
100 os.makedirs(targetdir) | 99 os.makedirs(targetdir) |
101 try: | 100 try: |
102 shutil.copyfile(src, dst) | 101 shutil.copyfile(src, dst) |