Source

hgbook / ja / examples / tag.replace.out

$ \textbf{hg tag -r 1 v1.1}
$ \textbf{hg tags}
tip                                
v1.1                               
$ \textbf{hg tag -r 2 v1.1}
abort: a tag named v1.1 already exists (use -f to force)
$ \textbf{hg tag -f -r 2 v1.1}
$ \textbf{hg tags}
tip                                
v1.1