Re: r39226 - lyx-devel/trunk/po

2011-07-02 Thread Pavel Sanda
Kornel wrote: > Yes, seams to work. Please try. works like a charm. time to ask Richard to push it into branch. pavel

Re: r39226 - lyx-devel/trunk/po

2011-07-02 Thread Kornel
Am Samstag, 2. Juli 2011 schrieb Pavel Sanda: > Kornel wrote: > > Nothing, I only don't know, how to call git :( > > would this help? > > the simplest version in bash would be something like > object="$2" #eg HEAD~100 or any other... > file="$3" > tmpfile=/tmp/blabla > > git show "$object":po/"$

Re: r39226 - lyx-devel/trunk/po

2011-07-02 Thread Pavel Sanda
Kornel wrote: > Nothing, I only don't know, how to call git :( would this help? the simplest version in bash would be something like object="$2" #eg HEAD~100 or any other... file="$3" tmpfile=/tmp/blabla git show "$object":po/"$file" > $tmpfile #now we have the revision wanted in $tmpfile plus

Re: r39226 - lyx-devel/trunk/po

2011-07-02 Thread Kornel
Am Samstag, 2. Juli 2011 schrieb Pavel Sanda: > Kornel wrote: > > > The script seems to work also with git > > > > > > #git difftool --extcmd=./diff_po.pl sk.po > > > > > > at least for the HEAD. > > > > > > Kornel > > > > Sorry, has to be full path to diff_po.pl here. > > i see. but whats

Re: r39226 - lyx-devel/trunk/po

2011-07-02 Thread Pavel Sanda
Kornel wrote: > > The script seems to work also with git > > #git difftool --extcmd=./diff_po.pl sk.po > > at least for the HEAD. > > > > Kornel > > Sorry, has to be full path to diff_po.pl here. i see. but whats so wrong with having the possibility of writing ./diff_po.pl -r HEAD~100 cs

Re: r39226 - lyx-devel/trunk/po

2011-07-02 Thread Kornel
Am Samstag, 2. Juli 2011 schrieb Kornel: > Am Samstag, 2. Juli 2011 schrieb Pavel Sanda: > > Kornel wrote: > > > > for me this is unusable, since if i need remember "svn diff -r38367 > > > > --diff-cmd" then the point of easy switch in diff_po is lost. the git > > > > command would be exactly like

Re: r39226 - lyx-devel/trunk/po

2011-07-02 Thread Kornel
Am Samstag, 2. Juli 2011 schrieb Pavel Sanda: > Kornel wrote: > > > for me this is unusable, since if i need remember "svn diff -r38367 > > > --diff-cmd" then the point of easy switch in diff_po is lost. the git > > > command would be exactly like in the previous message. we could have > > > even t

Re: r39226 - lyx-devel/trunk/po

2011-07-02 Thread Pavel Sanda
Kornel wrote: > > for me this is unusable, since if i need remember "svn diff -r38367 > > --diff-cmd" then the point of easy switch in diff_po is lost. the git > > command would be exactly like in the previous message. we could have even > > two switches -svn and -git. > > > > pavel > > You could

Re: r39226 - lyx-devel/trunk/po

2011-07-02 Thread Kornel
Am Samstag, 2. Juli 2011 schrieb Pavel Sanda: > Kornel wrote: > > 3.) I modified it a bit to be aceppted by svn. So it is now possible to > > use > > > > #cd lyx-trunk/po > > #svn diff -r38367 --diff-cmd ./diff_po.pl cs.po > > > > Don't know how to handle it in git. > > > > Should I comm

Re: r39226 - lyx-devel/trunk/po

2011-07-02 Thread Pavel Sanda
Kornel wrote: > 3.) I modified it a bit to be aceppted by svn. So it is now possible to use > > #cd lyx-trunk/po > #svn diff -r38367 --diff-cmd ./diff_po.pl cs.po > Don't know how to handle it in git. > > Should I commit, or do you want to try first? if you like it :) for me this is

Re: r39226 - lyx-devel/trunk/po

2011-07-02 Thread Kornel
Am Samstag, 2. Juli 2011 schrieb Pavel Sanda: > kor...@lyx.org wrote: > > Author: kornel > > Date: Sat Jul 2 11:31:12 2011 > > New Revision: 39226 > > URL: http://www.lyx.org/trac/changeset/39226 > > > > Log: > > Tool for comparing po-files. Interesting only for translators. > > can we get few a

Re: r39226 - lyx-devel/trunk/po

2011-07-02 Thread Pavel Sanda
kor...@lyx.org wrote: > Author: kornel > Date: Sat Jul 2 11:31:12 2011 > New Revision: 39226 > URL: http://www.lyx.org/trac/changeset/39226 > > Log: > Tool for comparing po-files. Interesting only for translators. can we get few additions? 1. colorize diff output like http://blog.bauffman.be/wp