##// END OF EJS Templates
Handle hg under /
Arun Sharma -
r1566:8befbb4e default
parent child Browse files
Show More
@@ -175,7 +175,10 b' def pathto(n1, n2):'
175 175
176 176 def canonpath(root, cwd, myname):
177 177 """return the canonical path of myname, given cwd and root"""
178 rootsep = root + os.sep
178 if root == os.sep:
179 rootsep = os.sep
180 else:
181 rootsep = root + os.sep
179 182 name = myname
180 183 if not name.startswith(os.sep):
181 184 name = os.path.join(root, cwd, name)
General Comments 0
You need to be logged in to leave comments. Login now