Fixed usage of removed variable 'wp'.
--- a/mercurial/hg.py Wed Jun 08 22:03:18 2005 -0800
+++ b/mercurial/hg.py Thu Jun 09 08:53:07 2005 +0100
@@ -1000,7 +1000,7 @@
try:
self.wfile(f, "w").write(t)
except IOError:
- os.makedirs(os.path.dirname(wp))
+ os.makedirs(os.path.dirname(self.wjoin(f)))
self.wfile(f, "w").write(t)
set_exec(self.wjoin(f), mf2[f])
self.dirstate.update([f], mode)
@@ -1012,7 +1012,7 @@
self.ui.status("merging %s\n" % f)
m, o, flag = merge[f]
self.merge3(f, m, o)
- set_exec(wp, flag)
+ set_exec(self.wjoin(f), flag)
self.dirstate.update([f], 'm')
for f in remove: