[darcs-users] Darcs get --tag not working?

Owen Stephens darcs at owenstephens.co.uk
Sun Jan 13 14:40:05 UTC 2013


Hi Lele,

On 13 January 2013 14:19, Lele Gaifax <lele at metapensiero.it> wrote:
>   It is often desiderable to make a copy of a repository that excludes
>   some patches. For example, if releases are tagged then `darcs get
>   --tag .' would make a copy of the repository as at the latest release.
>
> Does "as at the latest release" actually means "as at the latest
> *tagged* release" or effectively "as at the latest *commit*"?

There was a bug in the handling of "dirty tags". The desired behaviour
was the former, see http://bugs.darcs.net/issue2199

Ganesh has recently fixed that issue, the fix will be included in the
next release of darcs.

> I'm attaching a test script that exhibits the unexpected behaviour.

Thanks for this, it's equivalent to the test we have for issue 2199:

http://hub.darcs.net/darcs/darcs-screened/tests/issue2199-get-dirty-tag.sh

Cheers,
Owen.


More information about the darcs-users mailing list