Subject: Re: git ls-files -o under .git/ prints all repository files

From: Andreas Ericsson <[email-masked]>
Date: Fri, 19 Jan 2007 14:30:14 +0100

Alex Riesen wrote:
> On 1/19/07, Simon 'corecode' Schubert <[email-masked]> wrote:
>> >
>>
>> % cd .hg && hg status -A .
>> abort: path contains illegal component: .hg
>>
>> I think this is a sensible thing to do.
> 
> No, it isn't. It is not unlikely to have repo in repo
> (and some people already have them).
> Mercurial is wrong here.

For managing repos inside repos (onion repos?) I think it should
be safe to abort if we're not at top-level.

-- 
Andreas Ericsson                   [email-masked]
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231