[Frugalware-darcs] vmexam: dg: check for forced diff colors

VMiklos vmiklos at frugalware.org
Thu Jun 14 00:55:29 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=vmexam;a=darcs_commitdiff;h=20070613225356-e2957-5be53276b0d22934751cb436a3a0a57829deb55c.gz;

[dg: check for forced diff colors
VMiklos <vmiklos at frugalware.org>**20070613225356] {
hunk ./python/dg.py 55
+	if len(lines) and lines[0].startswith(""):
+		print """It seems that you force using colors in your diffs
+which is not compatible with darcs-git. Please set that value
+to false or auto. Example:
+
+git-config diff.color auto"""
+		sys.exit(0)
}


More information about the Frugalware-darcs mailing list