[PATCH 1 of 1] Fix for failing test with the new bundle/unbundle commands

Lee Cantey lcantey at gmail.com
Thu Sep 8 16:46:24 CDT 2005


# HG changeset patch
# User Lee Cantey <lcantey at gmail.com>
# Node ID 67c1fdac0f72902ee2b2f44209c79ab21a51fe92
# Parent  56582bb2b86975be2bac42031c2b42c8f8e5413b
Fix for failing test with the new bundle/unbundle commands.

* mercurial/commands.py (unbundle): Add function docstring.
* tests/test-help.out: Add bundle/unbundle output.

diff -r 56582bb2b869 -r 67c1fdac0f72 mercurial/commands.py
--- a/mercurial/commands.py	Thu Sep  8 17:49:33 2005
+++ b/mercurial/commands.py	Thu Sep  8 20:36:01 2005
@@ -1555,6 +1555,7 @@
     show_changeset(ui, repo, changenode=n)
 
 def unbundle(ui, repo, fname):
+    """applies a changegroup file"""
     f = urllib.urlopen(fname)
 
     if f.read(4) != "HG10":
diff -r 56582bb2b869 -r 67c1fdac0f72 tests/test-help.out
--- a/tests/test-help.out	Thu Sep  8 17:49:33 2005
+++ b/tests/test-help.out	Thu Sep  8 20:36:01 2005
@@ -39,6 +39,7 @@
  add         add the specified files on the next commit
  addremove   add all new files, delete all missing files
  annotate    show changeset information per file line
+ bundle      create a changegroup file
  cat         output the latest or given revision of a file
  clone       make a copy of an existing repository
  commit      commit the specified files or all outstanding changes
@@ -71,6 +72,7 @@
  tag         add a tag for the current tip or a given revision
  tags        list repository tags
  tip         show the tip revision
+ unbundle    applies a changegroup file
  undo        undo the last commit or pull
  update      update or merge working directory
  verify      verify the integrity of the repository
@@ -78,6 +80,7 @@
  add         add the specified files on the next commit
  addremove   add all new files, delete all missing files
  annotate    show changeset information per file line
+ bundle      create a changegroup file
  cat         output the latest or given revision of a file
  clone       make a copy of an existing repository
  commit      commit the specified files or all outstanding changes
@@ -110,6 +113,7 @@
  tag         add a tag for the current tip or a given revision
  tags        list repository tags
  tip         show the tip revision
+ unbundle    applies a changegroup file
  undo        undo the last commit or pull
  update      update or merge working directory
  verify      verify the integrity of the repository


More information about the Mercurial mailing list