Author: danielsh
Date: Sun Apr 24 16:21:08 2011
New Revision: 1096342

URL: http://svn.apache.org/viewvc?rev=1096342&view=rev
Log:
* contrib/server-side/fsfsfixer/fixer/find_good_id.py
  (rev_file_indexes): Describe the keys and values of the returned dict.

Modified:
    subversion/trunk/contrib/server-side/fsfsfixer/fixer/find_good_id.py

Modified: subversion/trunk/contrib/server-side/fsfsfixer/fixer/find_good_id.py
URL: 
http://svn.apache.org/viewvc/subversion/trunk/contrib/server-side/fsfsfixer/fixer/find_good_id.py?rev=1096342&r1=1096341&r2=1096342&view=diff
==============================================================================
--- subversion/trunk/contrib/server-side/fsfsfixer/fixer/find_good_id.py 
(original)
+++ subversion/trunk/contrib/server-side/fsfsfixer/fixer/find_good_id.py Sun 
Apr 24 16:21:08 2011
@@ -34,10 +34,14 @@ def rev_file_path(repo_dir, rev):
 def rev_file_indexes(repo_dir, rev):
   """Return (ids, texts), where IDS is a dictionary of all node-rev ids
      defined in revision REV of the repo at REPO_DIR, in the form
-     {noderev: full id}, and TEXTS is an array of
+     {noderev: full_id}, and TEXTS is an array of
      (offset, size, expanded-size, csum [,sha1-csum, uniquifier]) tuples
      taken from all the "text: REV ..." representation lines
-     in revision REV."""
+     in revision REV.
+     
+     Here, NODEREV is the node-revision id minus the /offset part, and
+     FULL_ID is the full node-revision id (including the /offset part).
+     """
   ids = {}
   texts = []
   for line in open(rev_file_path(repo_dir, rev)):


Reply via email to