|
|
Re: cvs server: invalid option -- C (again) [message #336705 is a reply to message #336623] |
Mon, 29 June 2009 11:52 |
Toralf Lund Messages: 70 Registered: July 2009 |
Member |
|
|
Michael Valenta wrote:
> Toralf,
> The -C flag tells the server to ignore the local state of files when
> performing the update. This is required when synchronizing so we get the
> proper contents for all files whose content on the server does not
> match the content on the client.
Yes. What I find a bit strange, however, is that as I understand it,
"update -C" means means overwriting local files directly, while I thought
that the Synchronize view would ask me before updating anything. But I
haven't tried it, obviously, and this is not very important...
> Eclipse really only supports CVS
> servers after 1.11.1p1 I believe. Having said that, I think you should
> still be able to use the basic Team>Update and Team>Commit worksflow
> (i.e. this is the traditional CVS workflow) and only the advanced
> workflows (e.g. Team>Synchronize) would be unavailable.
Yes, I think that's about right. My setup does seem to allow basic update
and check-in, and the revision of each file is also correctly displayed.
> I understand
> that this is not ideal but implementing advanced functionality like
> synchronization on top of CVS is not trivial and required the use of
> some newer (i.e. since 2000) functionality of CVS.
> One thing you may want to point out to the administrator of the server
> is that there have been a large number of security holes that have been
> identified in these earlier CVS versions which have been fixed in the
> later 1.11.x CVS server versions.
Yeah, maybe I can convince the right people that an update is a good
idea...
- Toralf
> Hope that helps,
> Michael
> Toralf Lund wrote:
>> When I try to use the "Synchronize CVS" option in Eclipse I get the
>> error message
>>
>> cvs server: invalid option -- C
>>
>> I know that this problem may be resolved by updating the server-side CVS
>> software, but that's not necessarily an option, as the server is run by
>> someone else entirely.
>>
>> So, is there another way around this problem? And why is -C used, anyway?
>>
>> Any help would be appreciated.
>>
|
|
|
Re: cvs server: invalid option -- C (again) [message #336714 is a reply to message #336705] |
Mon, 29 June 2009 13:32 |
Michael Valenta Messages: 35 Registered: July 2009 |
Member |
|
|
In regards to the -C overwriting local content, you are correct. I
neglected to mention that the synchronize operation performs an update
on a fake sandbox in order to determine what would happen if an update
was performed but it doesn't actually update the local state. It just
records the information for display in the Synchronize view.
Michael
Toralf Lund wrote:
> Michael Valenta wrote:
>
>> Toralf,
>
>> The -C flag tells the server to ignore the local state of files when
>> performing the update. This is required when synchronizing so we get
>> the proper contents for all files whose content on the server does
>> not match the content on the client.
> Yes. What I find a bit strange, however, is that as I understand it,
> "update -C" means means overwriting local files directly, while I
> thought that the Synchronize view would ask me before updating anything.
> But I haven't tried it, obviously, and this is not very important...
>
>> Eclipse really only supports CVS servers after 1.11.1p1 I believe.
>> Having said that, I think you should still be able to use the basic
>> Team>Update and Team>Commit worksflow (i.e. this is the traditional
>> CVS workflow) and only the advanced workflows (e.g. Team>Synchronize)
>> would be unavailable.
> Yes, I think that's about right. My setup does seem to allow basic
> update and check-in, and the revision of each file is also correctly
> displayed.
>
>> I understand that this is not ideal but implementing advanced
>> functionality like synchronization on top of CVS is not trivial and
>> required the use of some newer (i.e. since 2000) functionality of CVS.
>
>> One thing you may want to point out to the administrator of the server
>> is that there have been a large number of security holes that have
>> been identified in these earlier CVS versions which have been fixed in
>> the later 1.11.x CVS server versions.
> Yeah, maybe I can convince the right people that an update is a good
> idea...
>
> - Toralf
>
>
>> Hope that helps,
>> Michael
>
>> Toralf Lund wrote:
>>> When I try to use the "Synchronize CVS" option in Eclipse I get the
>>> error message
>>>
>>> cvs server: invalid option -- C
>>>
>>> I know that this problem may be resolved by updating the server-side
>>> CVS software, but that's not necessarily an option, as the server is
>>> run by someone else entirely.
>>>
>>> So, is there another way around this problem? And why is -C used,
>>> anyway?
>>>
>>> Any help would be appreciated.
>>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03641 seconds