Use localrepository method to obtain full path solo-extension
authorChristian Ebert <blacktrash@gmx.net>
Fri, 29 Dec 2006 14:06:10 +0100
branchsolo-extension
changeset 55 34fb92c050bc
parent 54 ac67adabce13
child 56 e8834575128b
Use localrepository method to obtain full path
hgkw/keyword.py
--- a/hgkw/keyword.py	Fri Dec 29 13:57:57 2006 +0100
+++ b/hgkw/keyword.py	Fri Dec 29 14:06:10 2006 +0100
@@ -52,7 +52,7 @@
     their expansion if matchobj is equal to string representation.'''
 
     RCSFile = os.path.basename(f)+',v'
-    Source = os.path.join(repo.root, f)+',v'
+    Source = repo.wjoin(f)+',v'
     Date = util.datestr(date=date)
     revdateauth = '%s %s %s' % (Revision,
             util.datestr(date=date, format=util.defaultdateformats[0]),