Current, official Hg repository?
Stephen J. Turnbull
stephen at xemacs.org
Sat Feb 2 04:05:37 EST 2008
Rick Rankin writes:
> Well, by 'same thing', I meant that 'hg tip' gives me the same
> information that Vladimir was reporting:
Oh, that's not surprising if you've never updated. :-)
> > What does `grep default .hg/hgrc' tell you?
>
> Actually, there's no hgrc file in the .hg directory.
Aha. That is one normal state among many. It means that you have no
default parent repository. That is not the particular normal state
you want to be in, that's all.
> hg clone http://hg.debian.org/hg/xemacs/xemacs-beta
Something's broken in Mercurial if you did and have no hgrc; hg clone
should initialize hgrc with a default parent. (For the record; I see
you figured that out below.)
> Scratch that. I was looking through some of the Mercurial-related
> messages that I've saved, and I found one from Michael Sperber on
> 12/7 (see
> http://calypso.tux.org/pipermail/xemacs-beta/2007-December/012893.html)
> that gives the following commands for initially getting the source:
>
> hg init xemacs
> cd xemacs
> hg pull http://hg.debian.org/hg/xemacs/xemacs-beta
>
> *That's* how I initially got the source. It looks like I should
> have used 'hg clone' instead?
You wanna see something cool? Just put
[paths]
default = http://hg.debian.org/hg/xemacs/xemacs-beta
in .hgrc and watch things start working. Alternatively, you could do
hg pull http://hg.debian.org/hg/xemacs/xemacs-beta
every time.
More information about the XEmacs-Beta
mailing list