/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: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-11-16 18:59:44 UTC
  • mfrom: (7143.15.15 more-cleanups)
  • Revision ID: breezy.the.bot@gmail.com-20181116185944-biefv1sub37qfybm
Sprinkle some PEP8iness.

Merged from https://code.launchpad.net/~jelmer/brz/more-cleanups/+merge/358611

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