tests/test-gendoc-sv.t
author Martin von Zweigbergk <martinvonz@google.com>
Mon, 06 Jan 2020 15:24:36 -0800
changeset 44090 2f0a44c69e07
parent 28809 7a1ad08b9ff5
permissions -rw-r--r--
copies: replace duplicatecopies() by function that takes contexts The callers mostly have context objects, so let's avoid looking up the same context objects inside `duplicatecopies()`. I also renamed the function to `graftcopies()` since I think that better matches its purpose. I did it in the same commit so it's easier for extensions to switch between the functions. Differential Revision: https://phab.mercurial-scm.org/D7858

#require docutils gettext

  $ $TESTDIR/check-gendoc sv
  checking for parse errors