Pull requests

#1 Merged
Repository
r_rudi r_rudi
Branch
default
Repository
brendan brendan
Branch
default

Compatibility with hg 2.3

Author
  1. WAKAYAMA shirou avatarWAKAYAMA shirou
Reviewers
Description

Updated)

  • make try/except style
  • make wrapper function to get capabilities

As mercurial 2.3 changed API, rdiff extension did not work. I made it works with backward compatibility. Please check and merge it.

Comments (2)

  1. Brendan Cully repo owner

    Thanks for the patch! Elsewhere in this extension I've used a try/except style for backward compatibility instead of getattr, and I think it would be nice to be consistent here. Also, this doesn't appear to have been tested against older hg: getattr(other, '_capabilities', None) should be getattr(other, 'capabilities', None). Care to revise the patch?

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.