Re: [Dirssync-opendisc] Checkout problem on DirsSync.png
Status: Pre-Alpha
Brought to you by:
vincent_delft
|
From: vincent d. <vin...@ya...> - 2003-12-10 19:45:29
|
I've updated cvs for the binary files : DirsSync.png, Dirssync.xpm, dirssync.mo (in it and fr). Thus windows users will be able to use correctly cvs. Thanks Mark for the remark and the CVS command. --- Mark Carter <xs...@uk...> wrote: > > > > --- vincent delft <vin...@ya...> wrote: > > > Done. > > Thanks. > > >a commit is needed ? > > Apparently not. > > > cvs says nothing .... > > I think you don't need to worry about it. > > > bash-2.05b$ cvs admin -kb DirsSync.png > > That fixes the problem! > > What's going on is as I expected. > > There are developer privileges, and there are admin > privileges. Although developers can update and > commit (and hopefully add) files to the repository, > they can't perform any of the cvs admin commands. > The -kb flag tells the repository that the file is a > binary file. This probably doesn't make too much > difference to a Unix user, but makes a world of > difference to a Windows user. What happens is that > Windows performs end-of-line translations. Alas, a > decision that Bill Gates made more than 20 years ago > has affected the interoperability of files to this > very day. > > Whilst the translation is OK for text files (the py > files, etc.), it ruins binary files. Extra > characters are inserted in the file - causing it to > corrupt. So the -kb flag needs to be set for all the > binary files in the repository. Vincent has already > done the png file - he will now need to do the xpm > file. The pot file looks like it's actually ASCII, > so presumably no modification needs to be made. > > I've opened up the files in the locale directory. > The .po files appear to be ASCII, and the .mo files > appear to be binary. So Vincent will have to do cvs > admin -kb on the .mo files. > > Probably no commit is required - because it > presumably just sets a flag, without changing the > file. > > What Windows users will notice, if they do a 'cvs > status' on the files, is that they will appear as > being locally modified. This is due to the > end-of-line problem. So, when Vincent has performed > the cvs admin -kb commands, everyone using Windows > should delete the appropriate files and perform a > 'cvs update'. This will redownload the deleted files > - only this time there shouldn't be any problems. > > I tried this procedure with DirsSync.png - and it > worked successfully. > > > > _____________________________________________________________ > Sign up for your very own email address from > UKmail.com To-day !! __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree |