Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re[2]: [stellation-res] Urgent! Do Not Use Stellation CVS RepositoryUntil Further Notice!

> At 02:50 PM 2/12/2003, Jonathan Gossage wrote:
>>Maybe this should be an object lesson for us all. Say after me, "delete does
>>not mean delete in an SCM system". Delete should mean "make unavailable for
>>normal use" but should never mean "physically purge".

> Actually, the CVS folders in question were not physically purged: I could 
> restore them
> from a previously-tagged version without a problem.
> Perhaps (if I knew command-line CVS better) I could have simply "undeleted" 
> the
> folder deletion or reverted to a previous version of the 'src' folder for 
> each of the
> five projects so afflicted.  The Eclipse CVS client doesn't seem to support 
> that, and
> I didn't want to risk further damage to the repository, so I did it the 
> hard way.

Just so that you feel better: There is no easy way.  In fact, the CVS manual
itself (cederqvist) tells you to re-create the file, and then do a "backwards"
replace from version x (the deleted version) to version x - 1.

And going by directory?  Good freaking luck. :-)


> Agreed: SCM 'delete' should never do a physical purge, and there should 
> *always*
> be a way to undelete and restore a resource.

>>We should provide an archive facility to clean out obsolete stuff from a
>>repository.

> Yes, eventually.  It will be hard to make sure that a given resource is not
> referenced by any revision anywhere in a project (or across multiple
> projects, since Stellation projects sharing the same repo can also
> theoretically share resources).  Mark has earlier posts on this topic,
> I believe.

> It may well be better to effectively do a purge by creating a new repo
> containing the desired subset of projects and branches (and associated
> resources) from an existing repo, and then archiving the old repo - or
> perhaps extracting the inverse subset into a separate archival repo and
> deleting the original.

> - Jim

> --
> Jim Wright, IBM T.J. Watson Research Center
> *** The Stellation project: Advanced SCM for Collaboration
> *** http://www.eclipse.org/stellation
> *** Work Email: jwright@xxxxxxxxxxxxxx ------- Personal Email: 
> jim.wright@xxxxxxx

> _______________________________________________
> stellation-res mailing list
> stellation-res@xxxxxxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/stellation-res


-- 
     Any motorist driving along a country road at night must stop every mile
     and send up a rocket signal, wait 10 minutes for the road to be cleared
     of livestock, and continue.
        actual Pennsylvania law

    Insurance-Engine.
    (613) 234-2426x226



Back to the top