mercurial/util.py
changeset 1102 c81d264cd17d
parent 1101 2cf5c8a4eae5
child 1169 e388c4f5cec5
equal deleted inserted replaced
1101:2cf5c8a4eae5 1102:c81d264cd17d
   236     """
   236     """
   237     return a function that opens files relative to base
   237     return a function that opens files relative to base
   238 
   238 
   239     this function is used to hide the details of COW semantics and
   239     this function is used to hide the details of COW semantics and
   240     remote file access from higher level code.
   240     remote file access from higher level code.
   241 
       
   242     todo: separate remote file access into a separate function
       
   243     """
   241     """
   244     p = base
   242     p = base
   245     def o(path, mode="r"):
   243     def o(path, mode="r"):
   246         f = os.path.join(p, path)
   244         f = os.path.join(p, path)
   247 
   245