error pulling from symbolic repo
TK Soh
teekaysoh at yahoo.com
Sun Aug 7 19:41:42 CDT 2005
Received the following error when trying to pull within a repo cloned by
symbolic name:
% hg pull
pulling from bos
abort: repository bos/.hg not found!
% hg paths
linux = http://www.kernel.org/hg/
default = bos
bos = http://www.serpentine.com/hg
tah = http://hg.intevation.org/mercurial-tah/
hg = http://selenic.com/hg
The following patch seemed to fix it, though I'm not sure it would cause any
unintended behavior:
diff -r 9c918287d10b mercurial/commands.py
--- a/mercurial/commands.py Thu Aug 4 21:31:25 2005
+++ b/mercurial/commands.py Mon Aug 8 08:37:19 2005
@@ -450,9 +450,9 @@
self.rmtree(self.dir_, True)
d = Dircleanup(dest)
- abspath = source
source = ui.expandpath(source)
other = hg.repository(ui, source)
+ abspath = source
if other.dev() != -1:
abspath = os.path.abspath(source)
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Mercurial
mailing list