On Thu, Jul 22, 2010 at 11:16:01 +0000, Petr Ročkai wrote:
> This produces a valid context regardless of the appropriate release tag being
> present.

The example here being darcs 2.4.4 not having the 2.4.4 tag in HEAD
(sigh!)

Slightly fix context generation in Setup.
-----------------------------------------
> -      -- FIXME currently we run changes --from-tag to at least assert that 
> the
> -      -- requested version is tagged in this repository... it is a weak 
> check,
> -      -- but otherwise, my ~/_darcs context tends to gets used when running
> -      -- from an unpacked distribution
> -      rawSystemStdout verbosity "darcs"
> -                          ["changes", "--from-tag", display version ]
> +      inrepo <- doesDirectoryExist "_darcs"
> +      unless inrepo $ fail "Not a repository."

So we relax the check some more.  Applied, thanks!

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
For a faster response, please try +44 (0)1273 64 2905.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
darcs-users mailing list
darcs-users@darcs.net
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to