abort: repository default not found!

Doug Philips dgou at mac.com
Fri Apr 25 07:49:33 CDT 2008


On Friday, April 25, 2008, at 08:40AM, "Peter Teoh" <htmldeveloper at gmail.com> wrote:
>Thank you very much Adrian.   I managed to see another older copy of
>the repository, copied the hgrc, and did a "hg pull", and "hg update"
>all was fine.
>
>Good to know this hg verify, as I can then verify that everything is
>correct.   I also did a "hg tags" and both are showing identical
>listing, which was not before copying the hgrc.   I have never touch
>this hgrc, and yet it disappeared.

It did not disappear, hgrc is not part of the clone because it is not version controlled:
Quoted from the .hgrc man page: http://www.selenic.com/mercurial/wiki/index.cgi/.hgrc
(Unix, Windows) <repo>/.hg/hgrc::
    Per-repository configuration options that only apply in a
    particular repository.  This file is not version-controlled, and
    will not get transferred during a "clone" operation.  Options in
    this file override options in all other configuration files.
    On Unix, most of this file will be ignored if it doesn't belong
    to a trusted user or to a trusted group.  See the documentation
    for the trusted section below for more details.

For a discussion of why it is not cloned and why some folks want it to be (at least partially cloned), see:
http://www.selenic.com/mercurial/wiki/index.cgi/SpecificHgrcForSetsOfRepos

--Doug

P.S. You never said what repository the "pull could not find"... perhaps it was a local directory that no longer existed, etc?




More information about the Mercurial mailing list