/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/git/hg.py

  • Committer: Jelmer Vernooij
  • Date: 2019-06-02 02:35:46 UTC
  • mfrom: (7309 work)
  • mto: This revision was merged to the branch mainline in revision 7319.
  • Revision ID: jelmer@jelmer.uk-20190602023546-lqco868tnv26d8ow
merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
import urllib
23
23
 
 
24
 
24
25
def format_hg_metadata(renames, branch, extra):
25
26
    """Construct a tail with hg-git metadata.
26
27
 
42
43
                   'hg-git'):
43
44
            continue
44
45
        else:
45
 
            extra_message += "extra : " + key + " : " +  urllib.quote(value) + "\n"
 
46
            extra_message += "extra : " + key + \
 
47
                " : " + urllib.quote(value) + "\n"
46
48
 
47
49
    if extra_message:
48
50
        return "\n--HG--\n" + extra_message