mercurial/commands.py
changeset 46950 279df499511e
parent 46949 3800a6aafb6f
child 46952 82366464190a
equal deleted inserted replaced
46949:3800a6aafb6f 46950:279df499511e
  4349                 )
  4349                 )
  4350                 return bookmarks.incoming(ui, repo, other)
  4350                 return bookmarks.incoming(ui, repo, other)
  4351             finally:
  4351             finally:
  4352                 other.close()
  4352                 other.close()
  4353 
  4353 
  4354     repo._subtoppath = ui.expandpath(source)
  4354     return hg.incoming(ui, repo, source, opts)
  4355     try:
       
  4356         return hg.incoming(ui, repo, source, opts)
       
  4357     finally:
       
  4358         del repo._subtoppath
       
  4359 
  4355 
  4360 
  4356 
  4361 @command(
  4357 @command(
  4362     b'init',
  4358     b'init',
  4363     remoteopts,
  4359     remoteopts,