comparison mercurial/commands.py @ 1971:915b81a35e46

imported patch /home/thomas/fix-incoming-abortion4.patch
author Thomas Arendsen Hein <thomas@intevation.de>
date Sat, 18 Mar 2006 09:13:27 +0100
parents 119165543ce6
children ce127cb4ee6e
comparison
equal deleted inserted replaced
1970:119165543ce6 1971:915b81a35e46
1809 prev = (parents and parents[0]) or nullid 1809 prev = (parents and parents[0]) or nullid
1810 dodiff(ui, ui, other, prev, n) 1810 dodiff(ui, ui, other, prev, n)
1811 ui.write("\n") 1811 ui.write("\n")
1812 1812
1813 if cleanup: 1813 if cleanup:
1814 os.close(fd) 1814 other.close() # explicit close for unlink
1815 os.unlink(cleanup) 1815 os.unlink(cleanup)
1816 1816
1817 def init(ui, dest="."): 1817 def init(ui, dest="."):
1818 """create a new repository in the given directory 1818 """create a new repository in the given directory
1819 1819