Commits

Dan Villiom Podlaski Christiansen  committed 641d0c4

pull: use a single if-statement for the two ways to skip revisions

  • Participants
  • Parent commits ce02baa

Comments (0)

Files changed (1)

File hgsubversion/wrappers.py

             # start converting revisions
             firstrun = True
             for r in svn.revisions(start=start, stop=stopat_rev):
-                if r.revnum in skiprevs:
-                    ui.status('[r%d SKIPPED]\n' % r.revnum)
-                    continue
                 lastpulled = r.revnum
-                if (r.author is None and
-                    r.message == 'This is an empty revision for padding.'):
+                if (r.revnum in skiprevs or
+                    (r.author is None and
+                     r.message == 'This is an empty revision for padding.')):
                     continue
                 tbdelta = meta.update_branch_tag_map_for_rev(r)
                 # got a 502? Try more than once!