Changes between Initial Version and Version 2 of Ticket #12021
- Timestamp:
- Apr 3, 2015, 10:56:17 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12021
- Property Owner set to
- Property Status new → assigned
- Property Summary Render Mercurial rebase properties → Render Mercurial rebase and amend properties
-
Ticket #12021 – Description
initial v2 1 Mercurial rebase properties could be supported:1 Mercurial rebase and amend properties could be supported: 2 2 {{{#!python 3 3 diff -r 779abf179cee tracext/hg/backend.py 4 4 --- a/tracext/hg/backend.py Sat Mar 28 10:40:23 2015 +0100 5 +++ b/tracext/hg/backend.py Fri Apr 03 10: 42:162015 +02006 @@ -298,13 +298,1 6@@5 +++ b/tracext/hg/backend.py Fri Apr 03 10:55:10 2015 +0200 6 @@ -298,13 +298,18 @@ 7 7 implements(IPropertyRenderer) 8 8 … … 10 10 - return name in ('hg-transplant_source', 'hg-convert_revision') and \ 11 11 + return name in ('hg-transplant_source', 'hg-rebase_source', 12 + 'hg- convert_revision') and \12 + 'hg-amend_source', 'hg-convert_revision') and \ 13 13 mode == 'revprop' and 4 or 0 14 14 … … 19 19 + elif name == 'hg-rebase_source': 20 20 + return render_source_prop(repos, context, _("Rebase:"), value) 21 + elif name == 'hg-amend_source': 22 + return render_source_prop(repos, context, _("Amend:"), value) 21 23 elif name == 'hg-convert_revision': 22 24 text = repos.to_u(value) 23 25 if value.startswith('svn:'): 26 24 27 }}}