[Frugalware-darcs] vmexam: dg: support for darcs-like " rm foo.c & & record" operation in record()

VMiklos vmiklos at frugalware.org
Thu Jun 14 19:58:07 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=vmexam;a=darcs_commitdiff;h=20070614111854-e2957-636ffa5ad5bf92ecf6676c1c8ff41aadcae512a8.gz;

[dg: support for darcs-like "rm foo.c && record" operation in record()
VMiklos <vmiklos at frugalware.org>**20070614111854
 till now you were forced to use dg rm to remove files
] {
hunk ./python/dg.py 225
+	# in darcs, it was possible to simply rm a file and then record a
+	# patch. support this
+	os.system("git ls-files -z --deleted | git update-index -z --remove --stdin")
}


More information about the Frugalware-darcs mailing list