hgkw/pretxnkw.py
branchdecodefilter
changeset 10 d8cd07b798f2
parent 9 437724c81b8f
child 11 56a61a5c696d
--- a/hgkw/pretxnkw.py	Thu Dec 14 12:58:46 2006 +0100
+++ b/hgkw/pretxnkw.py	Thu Dec 14 13:52:53 2006 +0100
@@ -55,7 +55,7 @@
         if kwct:
             # backup file and write with expanded keyword
             ui.note(_('expanding keywords in %s\n' % filename))
-            absname = os.path.join(repo.root, filename)
+            absname = repo.wjoin(filename)
             util.copyfile(absname, absname+'~')
             repo.wfile(filename, 'w').write(data)