1. TortoiseHg
  2. TortoiseHg
  3. thg

Commits

David Wilhelm  committed c5ca3c3

shelve: fix shelve-backups for unshelve

The backups were always skipped with the patch string position at the
end instead of the beginning.

  • Participants
  • Parent commits c7d96b0
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/util/hgshelve.py

View file
  • Ignore whitespace
             ui.status(fp.getvalue())
         else:
             files = []
+            fp.seek(0)
             for chunk in parsepatch(fp):
                 if isinstance(chunk, header):
                     files += chunk.files()