.hgtags not cloned

Lars Wilke lw at lwilke.de
Thu Oct 18 06:12:48 CDT 2007


* Dustin Sallings wrote:
> On Oct 16, 2007, at 8:10 , Sebastian Hauer wrote:
>
> > I just noticed that .hgtags does not necessarily get cloned when I do
> > the following:
> >
> > 1. Tag the project (this is the first tag in my case)
> >     hg tag rel_1.0
> >     (As expected .hgtags gets created and contains the tag now)
> >
> > 2. Clone the repo based on the release tag:
> >     cd ..
> >     hg clone -r rel_1.0 MyProject MyProject-rel1
> >     (MyProject-rel1 does not contain the .hgtags file from the
> > MyProject repo)
> >
> > Is this a know bug or am I using it wrong?
>
> 	This gets all changesets defined within the tag, but not the tag
> itself.  The tag is a subsequent changeset.

Could hg not just do a second autmatic commit, so that one only needs to
point to that revision. The current behaviour is IMHO not very intuitive
and confuses me once in a while :)

cheers
   --lars


More information about the Mercurial mailing list