Hi,

The "re" package is never used in the mergeinfo-sanitizer.py script, hence it can be removed.
Also improved the "usage" description to show the usage of the options.
I am working on this script to enhance/optimize it further.

I have attached a patch and the log message with this mail.


Thanks and regards
Prabhu
Index: tools/client-side/mergeinfo-sanitizer.py
===================================================================
--- tools/client-side/mergeinfo-sanitizer.py	(revision 1180546)
+++ tools/client-side/mergeinfo-sanitizer.py	(working copy)
@@ -6,7 +6,6 @@
 import hashlib
 import pickle
 import getpass
-import re
 from svn import client, core, ra, wc
 
 ## This script first fetches the mergeinfo of the working copy and tries
@@ -23,7 +22,7 @@
 mergeinfo = {}
 
 def usage():
-  sys.stderr.write(""" Usage: %s WCPATH
+  sys.stderr.write(""" Usage: %s WCPATH [OPTION]
 
 Analyze the mergeinfo property of the given WCPATH.
 Look for the existence of merge_source's locations at their recorded
Remove unused library and improve the usage description.

* tools/client-side/mergeinfo-sanitizer.py
  (usage): improve the usage description to show the usage of options

Patch by: Prabhu Gnana Sundar <prabhugs{_AT_}collab.net>

Reply via email to