Skip to content

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