# HG changeset patch
# User Dan Villiom Podlaski Christiansen <danchr@gmail.com>
# Date 1281549455 -7200
# Node ID 31cd9f41ec0972ab65fe542f2a40a260fc6de3cd
# Parent  a51e50d943b2d3cd945c140ccc609fbe417950d7
svnwrap: improve a docstring & a comment.

The docstring for SubversionRepo was technically inaccurate; not only
do we require Subversion 1.5, but the reference to a required
parameter is inaccurate, as the parameter has a default value. (To be
fair, relying on the default value is unlikely to work...)

Part of a comment in SubversionRepo.revisions() was redundant, and
could be removed.

No functionality change.

diff --git a/hgsubversion/svnwrap/svn_swig_wrapper.py b/hgsubversion/svnwrap/svn_swig_wrapper.py
--- a/hgsubversion/svnwrap/svn_swig_wrapper.py
+++ b/hgsubversion/svnwrap/svn_swig_wrapper.py
@@ -157,8 +157,7 @@ def _create_auth_baton(pool):
 class SubversionRepo(object):
     """Wrapper for a Subversion repository.
 
-    This uses the SWIG Python bindings, and will only work on svn >= 1.4.
-    It takes a required param, the URL.
+    It uses the SWIG Python bindings, see above for requirements.
     """
     def __init__(self, url='', username='', password='', head=None):
         parsed = common.parse_url(url, username, password)
@@ -285,7 +284,7 @@ class SubversionRepo(object):
                 r = common.Revision(revnum, author, message, date, paths,
                                     strip_path=self.subdir)
                 revisions.append(r)
-            # use a queue; we only access revisions in a FIFO manner
+            # we only access revisions in a FIFO manner
             revisions = collections.deque()
 
             try: