[issue1094] hg clone -r doesn't pull across tags

Dickon Reed mercurial-bugs at selenic.com
Fri Apr 18 08:07:20 CDT 2008


New submission from Dickon Reed <dickon at cantab.net>:

"hg clone -r some_tag repo new-repo" doesn't move tag information across. 

(The repo I am testing on was created by hg convert from a CVS repository).

You can get tag information by additionally pulling the latest changeset that
concerns tags from the source repository. hg clone without -r will have pulled
this changeset across. 

The surprising result for the user is that if you hg commit -r tag then you
throw away tag information in a way that requires some knowledge of how tags are
implemented to correct. I think this is surprising enough to count as a bug,
hence the report. 

Perhaps hg clone -r should pull across the request changeset and all the latest
tags-related changeset (assuming I've grokked Mercurial tags; I'm pretty new to
this).

----------
messages: 5927
nosy: dickon
priority: bug
status: unread
title: hg clone -r doesn't pull across tags

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1094>
____________________________________________________



More information about the Mercurial-devel mailing list