Skip to content
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

line.strip('\r\n') contains '\r'. #62

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rhinoceros
Copy link

line.strip('\r\n') contains '\r'.

line.strip('\r\n') contains '\r'.
@fmarier
Copy link

fmarier commented Jun 29, 2019

Can you describe the problem that your patch is fixing?

@rhinoceros
Copy link
Author

Can you describe the problem that your patch is fixing?

when I parse svn diff , I meet the case: there were a lot of '\r' in line,
and hunkactual["linestgt"] will always less than hunk.linestgt . hunk parse failed.

@techtonik
Copy link
Owner

@rhinoceros tests on Python 3 don't pass with this commit, so it is unlikely to be merged. Can you provide the diff file and describe how did it? If it came from public repo, that would be the best.

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

Successfully merging this pull request may close these issues.

3 participants