~ubuntu-branches/ubuntu/precise/mercurial/precise-updates

« back to all changes in this revision

Viewing changes to mercurial/filelog.py

  • Committer: Bazaar Package Importer
  • Author(s): Vincent Danjean, Javi Merino, Vincent Danjean
  • Date: 2010-07-04 09:55:28 UTC
  • mfrom: (1.2.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20100704095528-bzag1mhfylss9zth
Tags: 1.6-1
[ Javi Merino ]
* New upstream release (1.6). Many bug fixes and improvements. Among
    them:
  - push: break infinite http recursion bug with Python 2.6.5
       (issue2179 and issue2255) (Closes: #586907)
  - zeroconf: Don't use string exceptions (Closes: #585250)
* Removed patch for_upstream__bashism_in_examples.patch since a fix for
    #581122 is included upstream.
* Updated Standards-Version to 3.9 (no change needed)

[ Vincent Danjean ]
* debian/control:
  + Use Breaks instead of Conflicts
  + Use a fixed version in Replaces
    I put 1.4 but it has been a long time since nothing has been moved
    from mercurial to mercurial-common

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 
34
34
    def add(self, text, meta, transaction, link, p1=None, p2=None):
35
35
        if meta or text.startswith('\1\n'):
36
 
            mt = ""
37
 
            if meta:
38
 
                mt = ["%s: %s\n" % (k, v) for k, v in sorted(meta.iteritems())]
 
36
            mt = ["%s: %s\n" % (k, v) for k, v in sorted(meta.iteritems())]
39
37
            text = "\1\n%s\1\n%s" % ("".join(mt), text)
40
38
        return self.addrevision(text, transaction, link, p1, p2)
41
39