Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » cvs server: invalid option -- C (again)
cvs server: invalid option -- C (again) [message #336609] Thu, 25 June 2009 07:28 Go to next message
Toralf Lund is currently offline Toralf Lund
Messages: 70
Registered: July 2009
Member
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 #336623 is a reply to message #336609] Thu, 25 June 2009 13:53 Go to previous messageGo to next message
Michael Valenta is currently offline Michael Valenta
Messages: 35
Registered: July 2009
Member
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. 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. 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.

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 #336705 is a reply to message #336623] Mon, 29 June 2009 11:52 Go to previous messageGo to next message
Toralf Lund is currently offline 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 Go to previous message
Michael Valenta is currently offline 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.
>>>
>
>
Previous Topic:run process on loading new Workspace.
Next Topic:managing plugins with p2
Goto Forum:
  


Current Time: Wed Oct 22 12:21:03 GMT 2014

Powered by FUDForum. Page generated in 0.01774 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software