This is an archive of the discontinued Mercurial Phabricator instance.

bundle2: fix an off-by-one in debug message of number of parts
ClosedPublic

Authored by martinvonz on Sep 14 2019, 12:37 PM.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

martinvonz created this revision.Sep 14 2019, 12:37 PM
marmoute added inline comments.
mercurial/bundle2.py
371

Should this simply be enumarate(self.unbundler.iterparts(), 1) ?

martinvonz added inline comments.Sep 14 2019, 12:54 PM
mercurial/bundle2.py
371

Yeah, probably. I considered that but didn't do it, but I don't know why :) I'll just do that now.

marmoute accepted this revision.Sep 15 2019, 8:28 AM

Looks good to me

This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.