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

if a synchronization software creates a copy of a note after a synchronization conflict, two files with the same uuid exist in the same dir #178

Open
nebomuk opened this issue Jan 3, 2013 · 2 comments
Labels

Comments

@nebomuk
Copy link
Collaborator

nebomuk commented Jan 3, 2013

You cannot open both files at the same time because both have the same uuid.

@hakaishi
Copy link
Owner

Will the file always be an exact copy, even the file name?
If not, we could delete one of them. A dialog to ask the user to choose the file he wants to keep and delete the other might be a nice to have. Would it be practicable to open both in a seperate editor (not "Note") to show the differences? We could also implement an editor to show differences (or simply delete the copy if the content is the same at that point). We would have to compare the strings and then highlight the differences (might be complicated though...).

@nebomuk
Copy link
Collaborator Author

nebomuk commented Mar 22, 2015

there are already existing libraries and algorithms to show the difference between two files.

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

No branches or pull requests

2 participants