Daniel Dickison <[email protected]> writes:

> Unless I wrote it incorrectly, the regression test in patch135 already
> checks to make sure _darcs/foo gets skipped:
>
> +not darcs add -r _darcs
> +not darcs add -r --boring _darcs
> +
> +# ...as well as user-created files under _darcs (?)
> +touch _darcs/foo
> +not darcs add _darcs/foo

Given you're messing with isPrefixOf, I would extend this to test both
with/without --boring on all of

    _darcs _darcs/ _darcs/foo
    ./_darcs  ./_darcs/ ./_darcs/foo
    $PWD/_darcs $PWD/_darcs/ $PWD/_darcs/foo

    # and finally, something with a .. in it.
    ../${PWD##*/}/_darcs ../${PWD##*/}/_darcs/ ../${PWD##*/}/_darcs/foo

_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to