.hgtags not cloned

Christian Ebert blacktrash at gmx.net
Tue Oct 16 10:53:55 CDT 2007


* Sebastian Hauer on Tuesday, October 16, 2007 at 11:10:12 -0400
> 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)

Because the tag points to the parent revision of the revision in
which .hgtags was added.

> Is this a know bug or am I using it wrong?

Probably depends on your point view ;)

c
-- 
keyword extension for Mercurial (http://selenic.com/mercurial):
<http://www.blacktrash.org/hg/hgkeyword/> (0.9.2 backwards compatible)
Mercurial crew development repository + keyword extension:
<http://www.blacktrash.org/hg/hg-crew-keyword/>


More information about the Mercurial mailing list