abort: repository default not found!
Adrian Buehlmann
adrian at cadifra.com
Fri Apr 25 08:06:56 UTC 2008
On 25.04.2008 09:38, Peter Teoh wrote:
> A resend, please help......
>
> On Fri, Apr 25, 2008 at 3:30 PM, Peter Teoh <htmldeveloper at gmail.com> wrote:
>> After I copy my entire directory tree to another directory, and then
>> attempted a "hg pull", I got the following output:
>>
>> abort: repository default not found!
Inside the .hg dir is a file hgrc which contains some path aliases.
Path "default" seems to be defunct in your case.
The default path in hgrc is set as a side effect of hg clone.
The default path is used if you execute "hg pull" without saying
from where you want to pull. See "hg help pull".
>>
>> Question is: it is definitely ok that I can move my directory
>> around, right?
Yes. It is ok to copy the repository directory with normal
file system commands (for example using "cp -R" on FreeBSD).
But you should make sure that no hg process is writing to your
repository during the copying process. If you can't guarantee that,
then you should do a "hg clone" to a backup repo and copy that.
To verify that a repository is consistent and fine, use "hg verify".
More information about the Mercurial
mailing list