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

Subversion Conflicts Not Pretty #8

Open
GoogleCodeExporter opened this issue Mar 22, 2015 · 6 comments
Open

Subversion Conflicts Not Pretty #8

GoogleCodeExporter opened this issue Mar 22, 2015 · 6 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Put a CherryTree XML document under subversion source control.
2. Make multiple working copies with changes in each resulting in a conflict.

What is the expected output? What do you see instead?
Expected - XML is in a pretty print format and resolving conflicts is easy.
Observed - XML is in a single line.  Conflicts are hard to resolve.

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

Please provide any additional information below.
This is a fantastic program that is very useful for work breakdown.

Original issue reported on code.google.com by rol...@brownslink.net on 20 Oct 2014 at 7:32

@GoogleCodeExporter
Copy link
Author

I have modified machines.py to generate pretty XML.  I don't know if this is an 
efficient way to do it but does work and is minimally intrusive.

Original comment by rol...@brownslink.net on 21 Oct 2014 at 2:57

Attachments:

@GoogleCodeExporter
Copy link
Author

Thank you, generating pretty XML has the drawback that the resulting XML is 
bigger in size because of additional newlines and indentation.
For this reason I cannot make this the default but I will let the user 
enable/disable the pretty XML in future major release.

Original comment by giuspen@gmail.com on 25 Oct 2014 at 11:34

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

That is great.  Thank you.

XML is rather bloated and inefficient anyway.  Wanting to use text
utilities like source control may be a compelling reason to put up with
bloat from a user perspective.

Original comment by rol...@brownslink.net on 26 Oct 2014 at 6:24

@GoogleCodeExporter
Copy link
Author

Original comment by giuspen@gmail.com on 5 Nov 2014 at 1:06

@manad777
Copy link

Anecdotal, but my main file went from 199k characters to 204k after prettyprinting the XML. 2% extra filesize is a pretty negligible difference.

@giuspen
Copy link
Owner

giuspen commented Jul 13, 2016

Implemented in commit f866b6c

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

4 participants