mtd/scripts creatediffs.py,1.1,1.2

gleixner at infradead.org gleixner at infradead.org
Sun Nov 6 06:14:45 EST 2005


Update of /home/cvs/mtd/scripts
In directory phoenix.infradead.org:/tmp/cvs-serv22228

Modified Files:
	creatediffs.py 
Log Message:
Make repository path a command line option

Index: creatediffs.py
===================================================================
RCS file: /home/cvs/mtd/scripts/creatediffs.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- creatediffs.py	6 Jul 2005 20:14:18 -0000	1.1
+++ creatediffs.py	6 Nov 2005 11:14:42 -0000	1.2
@@ -39,6 +39,7 @@
     print "USAGE:"
     print "creatediffs.py <-m mtdusers> mailbox mailnr"
     print "-m mtdusers    supply a list of mtd users (default:scripts/mtdusers.txt)"
+    print "-r repopath    path to mtd git repository"
     print "mailbox containing MTD CVS Mailinglist"
 
 #    print "targetdir to put the diffs and logs"
@@ -246,7 +247,7 @@
 # Here we go
 # Parse the commandline
 try:
-    (options, arguments) = getopt.getopt(sys.argv[1:],'m:')
+    (options, arguments) = getopt.getopt(sys.argv[1:],'m:r:')
 except getopt.GetoptError, ex:
     print
     print "ERROR:"
@@ -256,6 +257,8 @@
 for option, value in options:
     if option == "-m":
         mtdusers = value
+    if option == "-r":
+        mtdrepo = value
     elif option == '-h':
         usage(0)
 





More information about the linux-mtd-cvs mailing list