Skip to content
Snippets Groups Projects
  • Yuya Nishihara's avatar
    4647e0a8
    scmutil: extract helper functions that returns human-readable change id · 4647e0a8
    Yuya Nishihara authored
    We do "'%d:%s' % (ctx...)" at several places, so let's formalize it. A low-
    level function, formatrevnode(ui, rev, node), is extracted so we can pass
    a manifest rev/node pair.
    
    Note that hex() for manifest output can be replaced with hexfunc() because
    it is printed only when debugflag is set.
    
    i18n/de.po is updated so test-log.t passes with no error.
    4647e0a8
    History
    scmutil: extract helper functions that returns human-readable change id
    Yuya Nishihara authored
    We do "'%d:%s' % (ctx...)" at several places, so let's formalize it. A low-
    level function, formatrevnode(ui, rev, node), is extracted so we can pass
    a manifest rev/node pair.
    
    Note that hex() for manifest output can be replaced with hexfunc() because
    it is printed only when debugflag is set.
    
    i18n/de.po is updated so test-log.t passes with no error.