Mercurial > hg
comparison mercurial/error.py @ 21598:1b0dbb91de5b
bundle2: add a ``newpart`` method to ``bundle20``
Creating new parts is the most common operation people do when exposed to a
bundler. We create a dedicated method on the bundler object for it. This will
simplify the code and also avoid having to import the ``mercurial.bundle2``
module in multiple places.
One part creators have been updated for testing purpose.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Fri, 23 May 2014 15:45:46 -0700 |
parents | 28d76afa1568 |
children | 7568f5c1c801 |
comparison
equal
deleted
inserted
replaced
21597:1daad9dcdba2 | 21598:1b0dbb91de5b |
---|