Current, official Hg repository?

Stephen J. Turnbull stephen at xemacs.org
Fri Feb 1 20:09:58 EST 2008


Rick Rankin writes:

 > I'm seeing the same thing. 'hg pull' gives me
 > 
 > $ hg pull
 > abort: repository default not found!

No, that's not the same thing.  Vladimir at least was able to connect
to the repository.

What does `grep default .hg/hgrc' tell you?  If it's
ssh://hg.debian.org//hg/xemacs/xemacs-beta, then you probably are
having problems with your ssh-agent (need to ssh-add, maybe?)
Otherwise, if something other than
http://hg.debian.org/hg/xemacs/xemacs-beta is returned, you can try
setting it to that.  This may not work (eg, if your original repo was
cloned from one of our experimental repos or if it's a CVS workspace
;-), in which case you'll have to do a new

hg clone http://hg.debian.org/hg/xemacs/xemacs-beta

Note that Mercurial's default behavior is somewhat inconvenient for
non-core-developers.  You can get "cvs update" behavior with "hg pull -u"
which automatically follows up an "hg pull" with an "hg update".  I
don't know if there's a cvsrc-like way to make "-u" the default option
for pull.

You can also enable the fetch extension by adding 

[extensions]
hgext.fetch =

to ~/.hgrc.  This performs an hg pull then an hg update, followed by
calling your favorite 3-way merge program for any files that have
conflicts.



More information about the XEmacs-Beta mailing list