[Frugalware-darcs] vmexam: dg: implemented file/directory parameters for rec

VMiklos vmiklos at frugalware.org
Wed Jun 13 19:22:52 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=vmexam;a=darcs_commitdiff;h=20070613172100-e2957-79f5c72fb3d023831eace830799c7266a9a21690.gz;

[dg: implemented file/directory parameters for rec
VMiklos <vmiklos at frugalware.org>**20070613172100] {
hunk ./python/dg.py 53
-def scan_dir():
+def scan_dir(files=""):
hunk ./python/dg.py 55
-	sock = os.popen("git diff HEAD")
+	sock = os.popen("git diff HEAD %s" % files)
hunk ./python/dg.py 168
+			self.files = ""
hunk ./python/dg.py 175
+	optind = 0
hunk ./python/dg.py 183
+		optind += 1
+	if optind < len(argv):
+		options.files = " ".join(argv[optind:])
hunk ./python/dg.py 188
-	status = scan_dir()
+	status = scan_dir(options.files)
}


More information about the Frugalware-darcs mailing list