Re: Re: use maccvs and wincvs for same module

Jens Miltner <[email protected]>
Newsgroups gmane.comp.version-control.cvs.gui.user
Message-ID <[email protected]>
On 22.11.2007, at 13:06, j zhang wrote:

> thanks a lot.
>
> we need work on mac for somefiles at office,
> but sometime we need check in files from home using laptop wincvs.
>
> how can we avoid the lineending problems?

Well, you can checkout on Macs and on Windows machines. No problem  
here. The only thing you should _not_ do is copy the entire sandbox  
(i.e. all files, including the CVS directories) from Mac to Windows or  
vice versa and then try to checkin / checkout from that sandbox. This  
will cause problems because the cvs tools expect the metadata files in  
the CVS directories to have platform lineendings.

When you copy single work files from one platform to the other and  
commit from the other platform, this generally works, but keep in mind  
that you may end up with incorrect lineendings in the repository,  
which may confuse other users when they checkout from the repo. The  
reason is that again the cvs tools expect platform lineendings and  
thus do a bad job diffing the files, which usually results in the  
complete file to be treated as different from the previous version.  
Also, the tools attempt to fix up the lineendings for the platform  
when they retrieve the files, but when you've got the wrong  
lineendings, this also gets confused...

Anyway, if you don't care too much about diffs and repository data  
size, you may be fine copying the work files themselves to other  
platforms and committing from there, but I still don't see why you  
can't just checkout on the other platform, do your changes there and  
commit all from within one platform. Remember: the 'c' in cvs stands  
for "concurrent", which means you can easily have several people  
working on the same document on different machines and all of them  
will be able to commit their changes...

</jum>




[Non-text portions of this message have been removed]



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/cvsgui/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/cvsgui/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.