diff -r 437724c81b8f -r d8cd07b798f2 hgkw/pretxnkw.py --- 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)