Mercurial > hg
diff mercurial/urllibcompat.py @ 44093:06e7e7652ac0
graftcopies: document why the function is useful at all
Despite having spent a significant amount on time on the copy-tracing
code, I thought `graftcopies()` (formerly known as
`duplicatecopies()`) was needed to duplicate copies after calling
`merge.update()` to do a merge (as `merge.graft()` does), but it's
actually usually not needed; `merge.update()` takes care of most
copies. This patch documents what the function is for.
Differential Revision: https://phab.mercurial-scm.org/D7861
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Sun, 29 Dec 2019 17:53:48 -0800 |
parents | 9f70512ae2cf |
children | 89a2afe31e82 |