Re: how to save and restore the file in cvs, with original information?
Re: how to save and restore the file in cvs, with original information?
- Subject: Re: how to save and restore the file in cvs, with original information?
- From: "M. Uli Kusterer" <email@hidden>
- Date: Tue, 18 Jan 2005 14:04:11 +0100
At 14:21 Uhr +0800 18.01.2005, Tim.xgxu wrote:
how to save and restore the file into cvs, with original
information? When I save the resource file like .url, etc into cvs,
but when I get it back, the icon of the file is changed, I want to
know how to save and restore the original information with cvs? I
have tried use -kb, but it failed. Thank you.
That's probably because CVS doesn't know about resource forks and
file metadata, and thus only archives the data fork of your file
(though I have no idea why that would be a problem with .url files,
as they're a Windows file format where all relevant info is in the
data fork).
I think there are some scripts you can tell a CVS client to run
before checking in certain files. Also, somewhere in the Dev Tools
should be two scripts for turning a file with a resource fork into
AppleDouble or BinHex or something like that. These are special
exchange formats that wrap everything there is to a Mac file into one
data fork archive.
Combining these should let you check in files with resource forks.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden