Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [stellation-res] Modified Workspace

On Wednesday 21 August 2002 09:53 am, Jonathan Gossage wrote:
> During the MySql testing I ran the following sequence of commands from the
> tutorial.
>
> Start with the workspace containing branch 1.0 checked in.
>
> Run the following sequence of commands:
>
> svc --revision 1.0 checkout demo
> svc fork exact
>
> The modify the contents of one of the files in the workspace.
>
> Now run the command:
>
> svc checkin
>
> At this point the new branch "exact" should contain one modified file.
> Now prepare to create a second branch with the following command.
>
> svc --revision 1.0 checkout demo
>
> As I understand it this should checkout the base branch 1.0 into the
> current workspace. However, even though the previous contents of the
> workspace have just been checked in I get the following warning from
> Stellation:
>
> This workspace already contains a project with modified content.
>   You must use --force if this is really what you want.
>
> I would have thought that the previous checkin would have left the
> workspace in an unmodified state. Is the observed behaviour correct? I am a
> little reluctant to force on with further testing if the system has
> beenplaced into an incorrect state.

I'd wait for Dave to confirm what I'm about to say before moving on... But, I
think it's doing the right thing, but generating the wrong error message.

The system generally assumes that "checkout" is creating a new workspace. If
a workspace is already populated, then you need to do a "--force" to overwrite
the contents of the existing workspace. So I think that's what's going on. 
It's just not generating a good error message, which we should fix. (Assuming
that I'm diagnosing this correctly.)

So, Dave, did I get it right?

	-Mark




>
> Regards
>
> Jonathan Gossage
>
> Personal Email
> jgossage@xxxxxxxx
>
> Business Email
> jonathan@xxxxxxxxxxxxxx
>
> _______________________________________________
> stellation-res mailing list
> stellation-res@xxxxxxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/stellation-res

-- 
Mark Craig Chu-Carroll,  IBM T.J. Watson Research Center  
*** The Stellation project: Advanced SCM for Collaboration
***		http://www.eclipse.org/stellation
*** Work Email: mcc@xxxxxxxxxxxxxx  ------- Personal Email: markcc@xxxxxxxxxxx




Back to the top