New submission from VMiklos <[EMAIL PROTECTED]>:

> On Mon, Nov 14, 2005 at 09:24:50PM +0100, VMiklos wrote:
> > till now (1.0.4 release) i had a simple script:
> > if darcs --commands 2>&1|grep -q add; then
> >         echo "inside a repo"
> > else
> >         echo "outside a repo"
> > fi
> > 
> > but now (with 1.0.4) it reports always "inside a repo", as darcs --commands 
> > lists
> > "add" outside a repo, too
> > 
> > is there any reason why it does? maybe this is a bug?
> 
> Yes, this looks like a bug.  Would you mind reporting it to the BTS? A
> quick look suggests that amInRepository' is calling findRepository' rather
> than itself recursively, and I think that's the bug.  But that code's a bit
> subtle, so I'd prefer to have someone else also take a look at it (which
> would hopefully be the result of reporting it to [EMAIL PROTECTED]).  You can
> quote me in the bug report...
> -- 
> David Roundy
> http://www.darcs.net

udv / greetings,
VMiklos

----------
messages: 23
nosy: droundy, tommy, vmiklos
status: unread
title: darcs --commands lists add outside a repo

____________________________________
Darcs issue tracker <[EMAIL PROTECTED]>
<http://bugs.darcs.net/issue9>
____________________________________

_______________________________________________
darcs-devel mailing list
[email protected]
http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel

Reply via email to