-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: int() argument must be a string or a number, not 'changectx' #72
Comments
I just tested this and it works as a fix for me. I just added: if hasattr(a, 'rev'):
a = a.rev()
b = b.rev() To the |
This solves the problem also for me. |
@matthewfl patch worked for me also |
- As suggested there : [Issue felipec#72](felipec#72) and I need this script to work, I forked the repo and apply that for me.
Still doesn't work for me:
Even tried forks of this repo, all are broken. |
fork worked for me @mnauw, thank you guys very much!!!! |
…b2 -> 1.0.0 The current version no longer works with our packaged Mecurial.[1] The original repository appears to no longer be maintained, but there is a maintained fork, which is now used for the Debian package. [1]: felipec/git-remote-hg#72
This is the correct fix: 00e95fd. Should be fixed in v0.4. |
Your's a separate issue fixed in c95fba3. Both of those issues should work in v0.4. |
With git-remote-hg (HEAD) and mercurial 4.6, git fetch yields:
I haven’t dug deeper, but I suspect mercurial is now encapsulating revisions in
changectx
objects, where it passed hashes before.In my case, it looks like unwrapping the
a
,b
arguments togitrange
resolves this.I’d open a PR, but I suspect you’ll want to guard this for backwards compatibility somehow.
The text was updated successfully, but these errors were encountered: