Mercurial > hg
view contrib/chg/chg.1 @ 34015:2d80e078724a
tag: use filtered repo when creating new tags (issue5539)
When pruning a changeset that added a tag and then adding another tag, the
"pruned" tag gets restored. This is because the tag creation step (tags._tag()
call in tags.tag()) is currently done on the unfiltered repo. This behavior
has been there from 7977d35df13b which backs out b08af8f0ac01 with no clear
reason but caution on unthought situations at that time. In this changeset, we
pass the filtered repo to tags._tag(), preventing "pruned" tags to reappear.
This somehow restores b08af8f0ac01, though now we arguably have a valid use
case for.
author | Denis Laxalde <denis@laxalde.org> |
---|---|
date | Tue, 29 Aug 2017 11:25:22 +0200 |
parents | 8062869860b8 |
children | 283828850c56 |
line wrap: on
line source
.\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH CHG 1 "March 3, 2013" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp <n> insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME chg \- a fast client for Mercurial command server .SH SYNOPSIS .B chg .IR command " [" options "] [" arguments "]..." .br .SH DESCRIPTION The .B chg command is the wrapper for .B hg command. It uses the Mercurial command server to reduce start-up overhead. .SH OPTIONS This program accepts the same command line syntax as the .B hg command. Additionally it accepts the following options. .TP .B \-\-kill\-chg\-daemon Terminate the background command servers. .SH SEE ALSO .BR hg (1), .SH AUTHOR Written by Yuya Nishihara <yuya@tcha.org>.