Pazartesi 10 Ağustos 2009 02:35 sularında, Fernando Correa da Conceição şunları 
yazmıştı: 
> Nilgün Belma Bugüner escreveu:
> > Pazar 09 Ağustos 2009 21:56 sularında, Fernando Correa da Conceição şunları 
> > yazmıştı: 
> >   
> >> I want make the Brazilian(pt_BR) translation active again and work on 
> >> it, and i will try find more people to help with.
> >> So i have some questions because those conversion from cvs to svn and if 
> >> you can help me, i can continue on this work.
> >>
> >> 1. The way to see if a file needs update, stay as before? Using the svn 
> >> version in the en file and puting it in the translated file as before 
> >> with cvs?
> >>
> >>     
> > cd phpdoc/en
> > $ svn propget cvs2svn:cvs-rev preface.xml 
> > 1.36 
> >                                  
> >   
> >> 2. What is the first version of the docs on svn? For me do a thing like 
> >> get all the diffs since the migration and keep the docs updated from 
> >> this point.
> >>
> >>     
> > 1.36 is the CVS revision number assigned to the file transferred from 
> > the SVN repository.
> >
> >   
> >> 3. There is anyway to me know if a file was updated when this migration 
> >> happen? 
> >>     
> >
> > $ svn log preface.xml 
> > ------------------------------------------------------------------------
> > r283791 | nilgun | 2009-07-11 08:24:47 +0300 (Sat, 11 Jul 2009) | 1 line
> >
> > fixed properties
> > -------[deleted]
> >
> > keywords:  2009-07-11, nilgun, fixed properties
> >
> >
> > I hope this helps.
> > --
> > Nilgün
> >
> >   
> 
> Sorry but i still do not understand how what you said will help me, let 
> me explain in another way.
> There is a tool that makes the same work as revcheck.html or make it 
> work now, because i can not, it do not find the pt_BR and tell that is 
> an invalid translation.
> 
> Fernando

Looking at your correspondance, it seemed to me that you used SVN and 
CVS. So I didn't go into detail.

You should find the difference between the CVS version number you get 
with svn propget and the the versions in the CVS repository.
The command is:
cvs diff -r<rev1> -r<rev2> <filename>

There is a tool that makes the same work as revcheck.html.
The command is:
php scripts/revcheck.php pt_BR > revcheck.html

Obviously you should have a working copy the latest instance of the CVS 
repository.

To find the differences in the SVN repository for all files under the 
/en folder, you can use 283790 as the first version number and the 
latest version number as the last version number. This is an advantage 
of SVN.
The command is:
svn diff -r283790:<lastrev> <filename>

When you bring all files up-to-date, you will be able to use the tools 
on the doc.php.net site. At this point, this is the easiest way. Before 
the cvs2svn migration, an easier way was to bring all translations 
up-to-date, but you missed that opportunity.


--
Nilgün

Reply via email to