[Phpmyadmin-devel] FAO: Michal. Dealing with merge conflicts in po files

Michal Čihař michal at cihar.com
Thu Aug 2 13:30:49 CEST 2012


Hi

Dne Thu, 02 Aug 2012 12:26:21 +0200
Rouslan Placella <rouslan at placella.com> napsal(a):

> I just had a conflict while merging QA_3_5 into master and I wasn't sure 
> how to resolve it. The problem was the po file for Catalan language that 
> was heavily modified in d72f329301c28d222facce53e3da67deeb41b782.
> 
> So, the first question is: why didn't Weblate merge QA_3_5 into master 
> after committing? And if it didn't merge because of the conflicts, then 
> why did it commit and push something that cannot be automatically merged 
> in the first place?

It does not merge it in git sense, because po files are usually very
different between branches.

> And the second question is: what is the correct thing to do when 
> something like that happens? What I did was discard all the changes in 
> that l10n file from the QA_3_5 branch, although I'm not sure if this 
> might have any implications (losing some translated strings?)...

Yes, you did right thing. I've also documented this on the wiki:

https://wiki.phpmyadmin.net/pma/Translation_server#Merging_different_branches

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20120802/912a3021/attachment.sig>


More information about the Developers mailing list