Show More
@@ -1593,7 +1593,9 b' class changeset_templater(changeset_prin' | |||||
1593 | (self.ui.debugflag, 'debug'), |
|
1593 | (self.ui.debugflag, 'debug'), | |
1594 | ] |
|
1594 | ] | |
1595 |
|
1595 | |||
1596 | self._parts = {'header': '', 'footer': '', 'changeset': 'changeset', |
|
1596 | self._tref = tmplspec.ref | |
|
1597 | self._parts = {'header': '', 'footer': '', | |||
|
1598 | tmplspec.ref: tmplspec.ref, | |||
1597 | 'docheader': '', 'docfooter': ''} |
|
1599 | 'docheader': '', 'docfooter': ''} | |
1598 | for mode, postfix in tmplmodes: |
|
1600 | for mode, postfix in tmplmodes: | |
1599 | for t in self._parts: |
|
1601 | for t in self._parts: | |
@@ -1637,7 +1639,7 b' class changeset_templater(changeset_prin' | |||||
1637 | self.ui.write(h) |
|
1639 | self.ui.write(h) | |
1638 |
|
1640 | |||
1639 | # write changeset metadata, then patch if requested |
|
1641 | # write changeset metadata, then patch if requested | |
1640 |
key = self._parts[ |
|
1642 | key = self._parts[self._tref] | |
1641 | self.ui.write(templater.stringify(self.t(key, **props))) |
|
1643 | self.ui.write(templater.stringify(self.t(key, **props))) | |
1642 | self.showpatch(ctx, matchfn) |
|
1644 | self.showpatch(ctx, matchfn) | |
1643 |
|
1645 |
General Comments 0
You need to be logged in to leave comments.
Login now