Patchwork [stable] bundlerepo: return more capable repos from getremotechanges

login
register
mail settings
Submitter Mads Kiilerich
Date Dec. 28, 2012, 11:05 a.m.
Message ID <CAJ6fcO6PrCk6NHzs3yytmfhFWHd3SRa-V5818wS-kARpeB1ixw@mail.gmail.com>
Download mbox | patch
Permalink /patch/316/
State Accepted
Headers show

Comments

Mads Kiilerich - Dec. 28, 2012, 11:05 a.m.
Pushed to crew stable as


/Mads
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20121228/f812cc11/attachment.html>

Patch

--- a/mercurial/bundlerepo.py
+++ b/mercurial/bundlerepo.py
@@ -347,7 +347,7 @@ 
                 os.unlink(bundlename)
         except OSError:
             pass
-        return other, [], other.close
+        return repo, [], other.close

     bundle = None
     bundlerepo = None