commit | 73aacbda205127dd5a51eae4ab02869a98f92404 | [log] [tgz] |
---|---|---|
author | Gustavo Niemeyer <gustavo@niemeyer.net> | Wed Feb 23 11:48:40 2011 -0500 |
committer | Russ Cox <rsc@golang.org> | Wed Feb 23 11:48:40 2011 -0500 |
tree | 472474f74e887a17d48083077bdfc6c14ce776c3 | |
parent | 83da7d15a3520e18361b488b803bf38804b86350 [diff] |
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