Re: [fossil-users] Cutting fossil repository

2016-10-09 Thread Richard Hipp
On 10/9/16, Zeev Pekar wrote: > I sent two examples and asked whether they were correct. A simple "yes" > or "no" would be enough... I don't know. I don't remember. In order to find out, I would either (1) consult the documentation or (2) try the commands out to see what happened, or (3) both.

Re: [fossil-users] Cutting fossil repository

2016-10-09 Thread Zeev Pekar
I sent two examples and asked whether they were correct. A simple "yes" or "no" would be enough... 1) Is the following correct? fossil purge artifacts 86848307235407 2) can I delete several commits like this? fossil purge artifacts 86848307235407 563453457234 56488921223 Thanks. On Sat, 201

Re: [fossil-users] Cutting fossil repository

2016-10-08 Thread Adam Jensen
On 10/08/2016 06:40 PM, Richard Hipp wrote: > I do not know how to make the documentation any clearer. It's something I've been thinking about [in general] for a while and I just used this opportunity to inject the idea into the Fossil community. This seems like the sweet spot with TCL on one side

Re: [fossil-users] Cutting fossil repository

2016-10-08 Thread Richard Hipp
On 10/8/16, Adam Jensen wrote: > > The reluctance of some programmer communities to provide examples has > always surprised me. In this case, the documentation (https://www.fossil-scm.org/fossil/help?cmd=purge) consists of a series of examples, each followed by an explanation of what that example

Re: [fossil-users] Cutting fossil repository

2016-10-08 Thread Adam Jensen
On 10/08/2016 02:23 PM, Zeev Pekar wrote: > Ok. I understood the consequences - I'll operate on a copy of a repo. So > could you, please, provide the two examples anyway? *snide humor alert* The reluctance of some programmer communities to provide examples has always surprised me. I think documen

Re: [fossil-users] Cutting fossil repository

2016-10-08 Thread Zeev Pekar
1) But what about the first case? Is the following correct: fossil purge artifacts 86848307235407 2) can I delete several commits like this: fossil purge artifacts 86848307235407 563453457234 56488921223 Thanks. On Sat, 2016-10-08 at 14:58 -0400, Richard Hipp wrote: > On 10/8/16, Zeev Pekar

Re: [fossil-users] Cutting fossil repository

2016-10-08 Thread Richard Hipp
On 10/8/16, Zeev Pekar wrote: > > 2) using shun: > > fossil shun 86848307235407 (this is just a guess since this one I > couldn't find in docs) > > Am I right? There is no "shun" command. Shunning must be done from the web interface. -- D. Richard Hipp d...@sqlite.org __

Re: [fossil-users] Cutting fossil repository

2016-10-08 Thread Zeev Pekar
Ok, so let me try... Let's say we want to delete a commit 86848307235407 1) using purge it should be: fossil purge artifacts 86848307235407 2) using shun: fossil shun 86848307235407 (this is just a guess since this one I couldn't find in docs) Am I right? Thank you. On Sat, 2016-10-08 at 14:

Re: [fossil-users] Cutting fossil repository

2016-10-08 Thread Richard Hipp
On 10/8/16, Zeev Pekar wrote: > Ok. I understood the consequences - I'll operate on a copy of a repo. So > could you, please, provide the two examples anyway? > I do not know how to improve upon https://www.fossil-scm.org/fossil/help?cmd=purge If you can explain what part of the documentation is

Re: [fossil-users] Cutting fossil repository

2016-10-08 Thread Zeev Pekar
Ok. I understood the consequences - I'll operate on a copy of a repo. So could you, please, provide the two examples anyway? Thank you. On Sat, 2016-10-08 at 14:19 -0400, Richard Hipp wrote: > On 10/8/16, Zeev Pekar wrote: > > Could somebody, please, provide an example of deleting a commit, usi

Re: [fossil-users] Cutting fossil repository

2016-10-08 Thread Richard Hipp
On 10/8/16, Zeev Pekar wrote: > Could somebody, please, provide an example of deleting a commit, using > a) purge > b) shun > If you need an example in order to pull this off, then it is not something you should attempt. The use of purge and shun is for experts only. If you do not have a full u

Re: [fossil-users] Cutting fossil repository

2016-10-08 Thread Zeev Pekar
Could somebody, please, provide an example of deleting a commit, using a) purge b) shun Thank you in advance! Zeev On Fri, 2016-10-07 at 15:57 -0400, Richard Hipp wrote: > On 10/7/16, sky5w...@gmail.com wrote: > > Cool. > > How does 'fossil purge obliterate' differ from 'fossil shun'? > > "shu

Re: [fossil-users] Cutting fossil repository

2016-10-07 Thread Richard Hipp
On 10/7/16, sky5w...@gmail.com wrote: > Cool. > How does 'fossil purge obliterate' differ from 'fossil shun'? "shun" rmembers the SHA1 hash and will never again accept that SHA1 hash on a sync. "fossil purge whatever" simply deletes the artifacts from the local repo. They will be restored on a

Re: [fossil-users] Cutting fossil repository

2016-10-07 Thread sky5walk
Cool. How does 'fossil purge obliterate' differ from 'fossil shun'? Is shun obsoleted or superseded by purge now? Can I achieve the obliteration entirely from the cmd line? Thanks! ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://li

Re: [fossil-users] Cutting fossil repository

2016-10-07 Thread Richard Hipp
Maybe you could make a copy of the repo then "purge" all those check-ins and files you don't want from the copy: https://www.fossil-scm.org/fossil/help?cmd=purge On 10/7/16, Zeev Pekar wrote: > Hello, > > if one needs to provide a partial repo (from the beginning till certain > date/commit) to a

Re: [fossil-users] Cutting fossil repository

2016-10-07 Thread Stephan Beal
On Fri, Oct 7, 2016 at 9:20 AM, Zeev Pekar 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 da

[fossil-users] Cutting fossil repository

2016-10-07 Thread Zeev Pekar
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? 2) is it possible to delete all the co