comparison hgext/mq.py @ 17512:39e7e74b3cd3

spelling: responsibility
author timeless@mozdev.org
date Fri, 17 Aug 2012 13:58:19 -0700
parents 5884812686f7
children 31f32a96e1e3
comparison
equal deleted inserted replaced
17511:afb4e220f1a8 17512:39e7e74b3cd3
3183 return 0 3183 return 0
3184 3184
3185 revs = scmutil.revrange(repo, revrange) 3185 revs = scmutil.revrange(repo, revrange)
3186 if repo['.'].rev() in revs and repo[None].files(): 3186 if repo['.'].rev() in revs and repo[None].files():
3187 ui.warn(_('warning: uncommitted changes in the working directory\n')) 3187 ui.warn(_('warning: uncommitted changes in the working directory\n'))
3188 # queue.finish may changes phases but leave the responsability to lock the 3188 # queue.finish may changes phases but leave the responsibility to lock the
3189 # repo to the caller to avoid deadlock with wlock. This command code is 3189 # repo to the caller to avoid deadlock with wlock. This command code is
3190 # responsability for this locking. 3190 # responsability for this locking.
3191 lock = repo.lock() 3191 lock = repo.lock()
3192 try: 3192 try:
3193 q.finish(repo, revs) 3193 q.finish(repo, revs)