On Fri, Oct 7, 2016 at 9:20 AM, Zeev Pekar <[email protected]> wrote:

> Hello,
>
> if one needs to provide a partial repo (from the beginning till certain
> date/commit) to a third party - how should he generate this new partial
> repo from the existing full one?
>
> 1) is there a way to "cut" a repo till certain date/commit? if yes -
> how?
>

Not an easy way, no. Writing a script which pulls one version at a time and
checks them into a new repo would (hypothetically) not be too difficult,
but it would not account for branches/merging without notably more effort.

2) is it possible to delete all the commits (which were made later than
> the required date) by hand, one by one? if yes - how?
>

It's hypothetically possible to "pop" versions off the top of a repo, one
version at a time, but it's never been implemented. i looked into it about
3 years ago and found that the it would require a relatively large effort
[for me] to implement, so i abandoned it. :/

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to