##// END OF EJS Templates
debugbuilddag: take wlock to cover '.hg/localtags'...
Pierre-Yves David -
r29755:b37f65b0 default
parent child Browse files
Show More
@@ -1987,8 +1987,9 b' def debugbuilddag(ui, repo, text=None,'
1987
1987
1988 tags = []
1988 tags = []
1989
1989
1990 lock = tr = None
1990 wlock = lock = tr = None
1991 try:
1991 try:
1992 wlock = repo.wlock()
1992 lock = repo.lock()
1993 lock = repo.lock()
1993 tr = repo.transaction("builddag")
1994 tr = repo.transaction("builddag")
1994
1995
@@ -2073,7 +2074,7 b' def debugbuilddag(ui, repo, text=None,'
2073 repo.vfs.write("localtags", "".join(tags))
2074 repo.vfs.write("localtags", "".join(tags))
2074 finally:
2075 finally:
2075 ui.progress(_('building'), None)
2076 ui.progress(_('building'), None)
2076 release(tr, lock)
2077 release(tr, lock, wlock)
2077
2078
2078 @command('debugbundle',
2079 @command('debugbundle',
2079 [('a', 'all', None, _('show all details')),
2080 [('a', 'all', None, _('show all details')),
General Comments 0
You need to be logged in to leave comments. Login now