Skip to content

remote fetch generates exception when kwargs is set to prune=True #249

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

Closed
CedricSchmeits opened this issue Jan 29, 2015 · 3 comments
Closed
Assignees

Comments

@CedricSchmeits
Copy link

origin.fetch(prune=True)
...
ValueError: Control character 'x' unknown as parsed from line ' x [deleted]         (none)     -> origin/feature/testPrune'
@Byron Byron added this to the v0.3.7 - Fixes milestone Jan 29, 2015
@Byron
Copy link
Member

Byron commented Jan 29, 2015

Interesting, indeed its mapping doesn't contain this character, whereas the one for handling push information does.
Apparently doing this was uncommon back in the days, so gitpython doesn't know it yet.
For future reference, please name the version of git-python you are using, just to be sure we are on the same page.

@Byron Byron self-assigned this Jan 30, 2015
@Byron Byron closed this as completed in 47d9f13 Jan 30, 2015
@Byron
Copy link
Member

Byron commented Jan 30, 2015

Actually I was wrong about my initial assertion, and it turned out that the latest version of gitpython, 0.3.6 already handles this case correctly by ignoring it.

@Byron
Copy link
Member

Byron commented Jan 30, 2015

You can watch the archived development live-stream on youtube.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants