]> Cypherpunks repositories - gostls13.git/commit
codereview: fix clpatch with empty diffs
authorGustavo Niemeyer <gustavo@niemeyer.net>
Wed, 23 Feb 2011 16:48:40 +0000 (11:48 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 23 Feb 2011 16:48:40 +0000 (11:48 -0500)
commit73aacbda205127dd5a51eae4ab02869a98f92404
tree472474f74e887a17d48083077bdfc6c14ce776c3
parent83da7d15a3520e18361b488b803bf38804b86350
codereview: fix clpatch with empty diffs

Avoid passing the placeholder diff to hgpatch, so that
clpatch-ing an empty diff grabs the metadata and warns
about it being empty, rather than failing with a
hard-to-debug problem ("mkdir: no such file or dir",
no metadata, etc).

R=rsc
CC=golang-dev
https://golang.org/cl/4172060
lib/codereview/codereview.py