[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] tools/dev/verify-history.py

From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: 2006-07-03 13:47:19 CEST

Hi All,
Find the attached patch.

With regards
Kamesh Jayachandran

[[[
Patch by: Kamesh Jayachandran <kamesh@collab.net>

Usage statement has unsubstitued '%s'.

* tools/dev/verify-history.py
  (main):
   "Usage statement '%s' is replaced with sys.argv[0]"
]]]

Index: tools/dev/verify-history.py
===================================================================
--- tools/dev/verify-history.py (revision 20369)
+++ tools/dev/verify-history.py (working copy)
@@ -62,7 +62,7 @@
 def main():
   argc = len(sys.argv)
   if argc < 3 or argc > 4:
- print "Usage: %s PATH-TO-REPOS PATH-IN-REPOS [REVISION]"
+ print "Usage: %s PATH-TO-REPOS PATH-IN-REPOS [REVISION]" % sys.argv[0]
     sys.exit(1)
 
   fs_ptr = repos.fs(repos.open(sys.argv[1]))

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 3 13:47:59 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.