mercurial/localrepo.py
branchstable
changeset 14825 de9eb6b1da4f
parent 14756 fdcf6f09b68d
child 14870 f73c7b70df68
equal deleted inserted replaced
14824:7698c275aa56 14825:de9eb6b1da4f
  1983     base, name = os.path.split(fn)
  1983     base, name = os.path.split(fn)
  1984     assert name.startswith('journal')
  1984     assert name.startswith('journal')
  1985     return os.path.join(base, name.replace('journal', 'undo', 1))
  1985     return os.path.join(base, name.replace('journal', 'undo', 1))
  1986 
  1986 
  1987 def instance(ui, path, create):
  1987 def instance(ui, path, create):
  1988     return localrepository(ui, util.localpath(path), create)
  1988     return localrepository(ui, util.urllocalpath(path), create)
  1989 
  1989 
  1990 def islocal(path):
  1990 def islocal(path):
  1991     return True
  1991     return True