Mercurial > hg
view mercurial/templates/map-cmdline.compact @ 30204:1894c830ee74
copies: make _checkcopies handle copy sequences spanning the TCA (issue4028)
When working in a rotated DAG (for a graftlike merge), there can be files
that are renamed both between the base and the topological CA, and between
the TCA and the endpoint farther from the base. Such renames span the TCA
(and thus need both passes of _checkcopies to be fully detected), but may
not necessarily be divergent.
Make _checkcopies return "incomplete copies" and "incomplete divergences"
in this case, and let mergecopies recombine them once data from both passes
of _checkcopies is available.
With this patch, all known cases involving renames and grafts pass.
(Developed together with Pierre-Yves David)
author | Gábor Stefanik <gabor.stefanik@nng.com> |
---|---|
date | Tue, 11 Oct 2016 04:39:47 +0200 |
parents | 1e184241de51 |
children | f4aeb952ab77 |
line wrap: on
line source
ldate = '{label("log.date", "{date|isodate}")}' ldesc = '{label('ui.note log.description', '{desc|strip}')}' ldescfirst = '{label('ui.note log.description', '{desc|firstline|strip}')}' changeset = '{lrev}{tags}{bookmarks}{parents} {lnode} {ldate} {luser}\n {ldescfirst}\n\n' changeset_quiet = '{lrev}:{lnode}\n' changeset_verbose = '{lrev}{tags}{parents} {lnode} {ldate} {lauthor}\n {ldesc}\n\n' lrev = '{label("log.changeset changeset.{phase}", "{rev}")}' lnode = '{label("log.node", "{node|short}")}' lauthor = '{label("log.user", "{author}")}' luser = '{label("log.user", "{author|user}")}' start_tags = '[' tag = '{label("log.tag", "{tag},")}' last_tag = '{tag}]' start_parents = ':' parent = '{lrev},' last_parent = '{lrev}' start_bookmarks = '[' bookmark = '{label("log.bookmark", "{bookmark},")}' last_bookmark = '{bookmark}]'