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

Multi-line comments break the history parser #4

Open
GoogleCodeExporter opened this issue Mar 26, 2015 · 1 comment
Open

Multi-line comments break the history parser #4

GoogleCodeExporter opened this issue Mar 26, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Check a file into clearcase with a multi-line comment.
2. run cc2svn.py
3. An exception is thrown during history parsing saying "Wrong history 
line: <comment data>"

What is the expected output? What do you see instead?
* History is correctly parsed.

What version of the product are you using? On what operating system?

* SVN revision 4

Please provide any additional information below.

* The code appears to attempt this fix by storing unrecognised lines for 
later.  An easier solution may be to make the history contain an obvious 
marker pattern at the start of each line and split on that, rather than 
newline.  I.e. change HISTORY_FORMAT to begin with something 
like "___HISTORY___" and then have rlines() split on "___HISTORY___" 
rather than newline.

Original issue reported on code.google.com by [email protected] on 15 Dec 2009 at 9:59

@GoogleCodeExporter
Copy link
Author

I have a patch for this, too, if you're interested

Original comment by [email protected] on 15 Dec 2009 at 10:03

  • Added labels: ****
  • Removed labels: ****

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

No branches or pull requests

1 participant