[Frugalware-darcs] vmexam: dg: new -t switch to changes

VMiklos vmiklos at frugalware.org
Fri Jun 15 00:22:48 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=vmexam;a=darcs_commitdiff;h=20070614222103-e2957-6622487901594233f3f0c7b20217f59dd0aa9383.gz;

[dg: new -t switch to changes
VMiklos <vmiklos at frugalware.org>**20070614222103] {
hunk ./python/dg.py 395
+  -t         --tags                include tags in the log (darcs-git only)
hunk ./python/dg.py 404
+			self.tags = ""
hunk ./python/dg.py 409
-		opts, args = getopt.getopt(argv, "l:svh", ["last=", "summary", "verbose", "help"])
+		opts, args = getopt.getopt(argv, "l:svth", ["last=", "summary", "verbose", "tags", "help"])
hunk ./python/dg.py 421
+		elif opt in ("-t", "--tags"):
+			options.tags = "| git name-rev --tags --stdin"
hunk ./python/dg.py 430
-	return os.system("git log -M %s %s %s" % (options.last, options.logopts, options.files))
+	return os.system("git log -M %s %s %s %s" % (options.last, options.logopts, options.files, options.tags))
}


More information about the Frugalware-darcs mailing list