From: Andreas Ericsson Date: Fri, 19 Jan 2007 13:30:14 GMT Subject: Re: git ls-files -o under .git/ prints all repository files Message-ID: <45B0C7E6.4020509@op5.se> In-Reply-To: <81b0412b0701182357l3a6d44fel58da50c7895fb6b4@mail.gmail.com> Alex Riesen wrote: > On 1/19/07, Simon 'corecode' Schubert 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 andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231