##// END OF EJS Templates
Make it possible to use the root directory as the root of a repository.
Manpreet Singh -
r2271:90b12273 default
parent child Browse files
Show More
@@ -205,6 +205,8 b' def canonpath(root, cwd, myname):'
205 """return the canonical path of myname, given cwd and root"""
205 """return the canonical path of myname, given cwd and root"""
206 if root == os.sep:
206 if root == os.sep:
207 rootsep = os.sep
207 rootsep = os.sep
208 elif root.endswith(os.sep):
209 rootsep = root
208 else:
210 else:
209 rootsep = root + os.sep
211 rootsep = root + os.sep
210 name = myname
212 name = myname
General Comments 0
You need to be logged in to leave comments. Login now