equal
deleted
inserted
replaced
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: |