Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
merge-po
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hefee
merge-po
Commits
bc7a07fa
Commit
bc7a07fa
authored
7 years ago
by
Hefee
Browse files
Options
Downloads
Patches
Plain Diff
update README
parent
116c6163
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README
+10
-33
10 additions, 33 deletions
README
with
10 additions
and
33 deletions
README
+
10
−
33
View file @
bc7a07fa
...
@@ -14,39 +14,16 @@ Add this to .gitattributes in some dir:
...
@@ -14,39 +14,16 @@ Add this to .gitattributes in some dir:
### Testing
### Testing
run: ipython3 -i runtests.py
To run the testsuite simply run runtests.py in the topdir.
In [18]: runTest("translated-remote")
For each test there is a subfolder in the test dir with folling files:
Using custom PO merge driver (local; /tmp/merge-po.JIyZ)
* base, local and remote - the 3 files for a 3-way merge
0
* merged - the file after the merge is done
0
* pot - the corresponding pot file, to get a cleaner picture for sorting and removal context.
to create such an file run:
In [19]: runTest("translated-local-and-remote")
msghack --empty remote > pot
Using custom PO merge driver (local; /tmp/merge-po.lZsH)
0
you can simply look into the examples and run diff to see what is done.
0
In [22]: runTest("confict")
Using custom PO merge driver (local; /tmp/merge-po.7FoH)
Conflict(s) detected
between /tmp/merge-po.7FoH.local and /tmp/merge-po.7FoH.remote
1
--- /tmp/tmp5cbetvbs/local 2018-03-22 16:40:55.000000000 +0100
+++ tests/confict/merged 2018-03-22 16:40:51.954196950 +0100
@@ -27,9 +27,9 @@
"> **amnesia**, *noun*:<br/>\n"
"> forgetfulness; loss of long-term memory.\n"
msgstr ""
-"#-#-#-#-# merge-po.7FoH.local-only (Tails) #-#-#-#-#\n"
+"#-#-#-#-# merge-po.PE9w.local-only (Tails) #-#-#-#-#\n"
"> Je ne sais pas \n"
-"#-#-#-#-# merge-po.7FoH.remote-only (Tails) #-#-#-#-#\n"
+"#-#-#-#-# merge-po.PE9w.remote-only (Tails) #-#-#-#-#\n"
"Un deuxième traduction."
#. type: Plain text
1
### Documentation
### Documentation
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment