[Project_owners] CVS question - binary -> ascii

Robin Monks devlinks at gmail.com
Sat Aug 28 22:50:22 EDT 2004


Put up clean copies, originals.

Robin

On Fri, 27 Aug 2004 15:44:47 -0700, Jon Stritar <jstritar at mit.edu> wrote:
> I had multiple binary files I wanted to convert to ASCII in a few
> different subfolders of my locale directory. So I released the directory
> from the repository, opened a client that recognized them as ASCII,
> tried to add them back, then tried to commit. I'm getting weird errors
> with the ,v files now though:
> 
> The server reported an error while performing the "cvs commit" command.
>   weatherfox: cvs commit: warning: expected
> /cvs/weatherfox/src/chrome/locale/fr/weatherfox/weatherfox.properties,v
> to be in Attic
>   weatherfox: cvs [commit aborted]: error closing lock file
> /cvs/weatherfox/src/chrome/locale/fr/weatherfox/,weatherfox.properties,:
> No space left on device
>   weatherfox: cvs commit: error closing lock file
> /cvs/weatherfox/src/chrome/locale/fr/weatherfox/,weatherfox.properties,:
> Bad file descriptor
> 
> It's getting errors like that for all the files in the locale folder.
> What should I do?
> 
> 
> 
> David Costanzo wrote:
> 
> >Oops.  While the spirit of what I wrote may be correct, I just realized
> >that I goofed on the commands.  Here's a better set of commands:
> >
> >   mv file file.backup
> >   cvs remove file
> >   cvs commit -m 'changing binary to ascii' file
> >   mv file.backup file
> >   cvs add file
> >   cvs commit -m 'changing binary to ascii' file
> >
> >I've never used Tortoise, so I don't know how to do it with that.  But
> >you should be able to do something equivalent.
> >
> >By the way, you should try your best to never modify the ",v" files on
> >the CVS server.  That's really the only way you can make a mistake that
> >you can't recover from.
> >
> >--- David Costanzo <david_costanzo at yahoo.com> wrote:
> >
> >
> >
> >>I've always been able to recover from the binary/ascii mistake by
> >>removing the binary file from CVS, then re-adding it as ASCII (or
> >>vice-versa).
> >>
> >>  rm file
> >>  cvs remove file
> >>  cvs add file
> >>
> >>
> >>--- Mook <mook.moz at gmail.com> wrote:
> >>
> >>
> >>
> >>>Hi,
> >>>
> >>>While checking files into CVS, I made the very bad decision to use
> >>>Eclipse's built-in CVS client.  Now a bunch of .js, .xul etc. files
> >>>are considered binary (there was no UI to force ASCII mode); this
> >>>means that I can't commit some files - they cannot be merged
> >>>
> >>>
> >>because
> >>
> >>
> >>>CVS doesn't try anymore.
> >>>
> >>>Is there any way I can make the files ASCII like they should be?
> >>>
> >>>
> >>(I
> >>
> >>
> >>>tried removing them and recommiting via Tortoise, but it didn't
> >>>
> >>>
> >>work.
> >>
> >>
> >>>New files commited via Tortoise does become ASCII correctly though)
> >>>
> >>>If nothing would work, as a last resort would it be possible for
> >>>
> >>>
> >>one
> >>
> >>
> >>>of the admins to do a "rm -rf $CVSROOT/minimizetotray/src
> >>>$CVSROOT/minimizetotray/downloads" (losing all CVS data in the
> >>>process, since I have the files locally)?  (www is fine because I
> >>>didn't add any non-binary files in there...)
> >>>
> >>>... Can't seem to really get a hang of this CVS thing :p
> >>>
> >>>--
> >>>Mook
> >>>mook.moz at gmail
> >>>minimizetotray.mozdev
> >>>_______________________________________________
> >>>Project_owners mailing list
> >>>Project_owners at mozdev.org
> >>>http://mozdev.org/mailman/listinfo/project_owners
> >>>
> >>>
> >>>
> >>
> >>
> >>_______________________________
> >>Do you Yahoo!?
> >>Win 1 of 4,000 free domain names from Yahoo! Enter now.
> >>http://promotions.yahoo.com/goldrush
> >>
> >>
> >>
> >
> >
> >
> >
> >__________________________________
> >Do you Yahoo!?
> >Yahoo! Mail is new and improved - Check it out!
> >http://promotions.yahoo.com/new_mail
> >_______________________________________________
> >Project_owners mailing list
> >Project_owners at mozdev.org
> >http://mozdev.org/mailman/listinfo/project_owners
> >
> >
> >
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners
>


More information about the Project_owners mailing list