Re: git ls-files -o under .git/ prints all repository files
- From
Andreas Ericsson <ae@op5.se>
- Date
- Jan 19, 2007, 13:30 UTC
- Message-ID
- <45B0C7E6.4020509@op5.se>
- In-Reply-To
- <81b0412b0701182357l3a6d44fel58da50c7895fb6b4@mail.gmail.com>
Alex Riesen wrote:
Show 11 quoted lines
> On 1/19/07, Simon 'corecode' Schubert <corecode@fs.ei.tum.de> 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