Skip to main content

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

On Wed, Aug 21, 2002 at 07:40:41AM +0000, Mark C. Chu-Carroll wrote:
> On Wednesday 21 August 2002 09:53 am, Jonathan Gossage wrote:
> 
> 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
> 

This is a bug. The fix is to add the following at the end of Fork.java, after updating
the project branch name and version to reflect the result of the fork:

            // Update the signature for State 0 to reflect the new
            // branch and version, so the workspace will
            // not believe it has been modified.
            getWorkspace().setState(0, getWorkspace().getProject().getProjectSignature());

I've added this to my private branch. It should show up in CVS eventually.

dave
-- 
Dave Shields, IBM Research, shields@xxxxxxxxxxxxxx. 


Back to the top