mercurial/dispatch.py
changeset 12770 614f0d8724ab
parent 12748 d10369fefd01
child 12800 598bf07fc896
equal deleted inserted replaced
12769:daa8dc6e1f66 12770:614f0d8724ab
   405               result=ret, pats=cmdpats, opts=cmdoptions)
   405               result=ret, pats=cmdpats, opts=cmdoptions)
   406     return ret
   406     return ret
   407 
   407 
   408 def _getlocal(ui, rpath):
   408 def _getlocal(ui, rpath):
   409     """Return (path, local ui object) for the given target path.
   409     """Return (path, local ui object) for the given target path.
   410     
   410 
   411     Takes paths in [cwd]/.hg/hgrc into account."
   411     Takes paths in [cwd]/.hg/hgrc into account."
   412     """
   412     """
   413     try:
   413     try:
   414         wd = os.getcwd()
   414         wd = os.getcwd()
   415     except OSError, e:
   415     except OSError, e: