Show More
@@ -830,13 +830,6 b' class queue:' | |||||
830 | wlock=None): |
|
830 | wlock=None): | |
831 | def getfile(f, rev): |
|
831 | def getfile(f, rev): | |
832 | t = repo.file(f).read(rev) |
|
832 | t = repo.file(f).read(rev) | |
833 | try: |
|
|||
834 | repo.wfile(f, "w").write(t) |
|
|||
835 | except IOError: |
|
|||
836 | try: |
|
|||
837 | os.makedirs(os.path.dirname(repo.wjoin(f))) |
|
|||
838 | except OSError, err: |
|
|||
839 | if err.errno != errno.EEXIST: raise |
|
|||
840 |
|
|
833 | repo.wfile(f, "w").write(t) | |
841 |
|
834 | |||
842 | if not wlock: |
|
835 | if not wlock: |
General Comments 0
You need to be logged in to leave comments.
Login now