1. Fredrik Håård
  2. hgapi

Commits

Fredrik Håård  committed 4b208fb

Fixed docstring

  • Participants
  • Parent commits b5b9422
  • Branches default

Comments (0)

Files changed (3)

File docs/conf.py

View file
  • Ignore whitespace
 # built documents.
 #
 # The short X.Y version.
-version = '1.4.1'
+version = '1.4.2'
 # The full version, including alpha/beta/rc tags.
-release = '1.4.1'
+release = '1.4.2'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.

File hgapi/hgapi.py

View file
  • Ignore whitespace
         """Get a unified diff as returned by 'hg diff'
         rev_a and rev_b are passed as -r <rev> arguments to the call,
         and filenames are expected to be an iterable of file names.
+
+        Returns a list of dicts where every dict has a 'filename' and 'diff' field,
+        with diff being the complete diff for the file including header (diff -r xxxx -r xxx...).
         """
 
         cmds = ['diff']

File setup.py

View file
  • Ignore whitespace
 
 setup(
     name = "hgapi",
-    version = "1.4.1",
+    version = "1.4.2",
     packages = ['hgapi'],
     test_suite = "hgapi.testhgapi.TestHgAPI",
     author = "Fredrik Håård",