comparison mercurial/bundlerepo.py @ 20963:ffddabb8aa5d

bundle2: use discard to remove bundle2 cap caps.remove('bundle2') was throwing an exception if bundle2 wasn't present in the capabilities. This was causing test-static-http.t to hang. Let's just use discard, so we don't get an exception.
author Durham Goode <durham@fb.com>
date Tue, 08 Apr 2014 13:05:29 -0700
parents 49f2d5644f04
children 4fdd1172d37e
comparison
equal deleted inserted replaced
20962:af4158b8876b 20963:ffddabb8aa5d