newbie question: release only a few (most recent) revision of repository, but keep full history for myself. Possible?

Paul R paul.r.ml at gmail.com
Mon Jun 2 03:14:02 CDT 2008


Hans Fangohr <fangohr at soton.ac.uk> writes:

> 1. I would like to have a repository that contains the complete  
> repository for all those years, plus future changes (let's call this  
> the 'main' branch).

You already have it.

> 2. I would like to give the most recent snap shot to other parties  
> (as a hg repository, let's call this 'latest_version' for now) to  
> work on. They do not need the history of the project (in fact, I  
> would rather keep the history to my self if possible). Also: there  
> have been some fairly large commits in the past which have later been  
> removed again, so it would also be of practical value not to have to  
> farm out the complete history.

IIUC, you need rebasing. There is a GSoC addressing this need.

> 3. I would like to integrate the work of the other collaborators (who  
> have only the 'latest_version' repository to clone from, and to  
> extend) into the 'main' branch (by pulling from their work or  
> something like this).

This should be doable, doing a pull --force the first time.


-- 
      Paul


More information about the Mercurial mailing list