[PATCH] [convert] With -d svn, recover gracefully from empty cset
Jesse Glick
jesse.glick at sun.com
Mon Dec 14 11:52:15 CST 2009
Patrick Mézard wrote:
> Crazy, someone uses the svn sink.
Yes, well, until partial clones are implemented we have little choice for people who want to see one subdir out of a massive repo. :-(
> if not files:
> - return "nothing at 0";
> + return parents[0]
Sounds fine to me. I don't fully understood the extension code, was just trying to get it to pass over one weird changeset out of tens of thousands.
> it seems to work with my test.
Good. It did not occur to me that MQ could be used to create an empty changeset ('hg commit' refuses).
BTW there is a typo in the test: "emtpy"
More information about the Mercurial-devel
mailing list