[PATCH v2] convert: if getting a file from Perforce fails try to get it one more time

Matt Mackall mpm at selenic.com
Mon Jul 13 14:48:00 CDT 2015


On Sun, 2015-07-12 at 08:44 -0500, Eugene Baranov wrote:
> # HG changeset patch
> # User Eugene Baranov <eug.baranov at gmail.com>
> # Date 1436375500 -3600
> #      Wed Jul 08 18:11:40 2015 +0100
> # Node ID f346506462419f4b1311c9be731954e253815c70
> # Parent  026105c442d7f20d239c1e5e5fac1cfa080323da
> convert: if getting a file from Perforce fails try to get it one more time
> 
> When converting a particularly large Perforce changelist (especially with  some
> big files), it is very likely to run into an intermittent network issue (e.g.
> WSAECONNRESET or WSAETIMEDOUT) getting one of the files, which will result in
> the entire changelist converting being aborted. Which can be quite unfortunate
> since you might have waited hours getting all other files. To mitigate this
> let's attempt to get the file one more time, escalating original exception
> if that attempt fails.

Horrors. Queued for default, thanks.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial-devel mailing list