On Thu, Jul 5, 2012 at 1:02 AM, Stephan Beal <sgb...@googlemail.com> wrote:

> The only way i can think of is to dump/import the sql.
>
> Sorry for the brevity - typing on a phone on an over-full train.
>

I think that dumping to a git fast export format and then writing scripts
to manipulate the fast import data or importing to git, doing what needs to
be done, then re-importing to fossil might be a good strategy for what you
want. It won't help you with the tickets or other fossil specific data. I
believe it is a loss-less process. I was able to slice and dice a large
number of monotone db's into fossil db's using this approach.


>  ----- stephan beal
> http://wanderinghorse.net/home/stephan/
> http://gplus.to/sgbeal
> On Jul 5, 2012 7:52 AM, "Mohd Radzi Ibrahim" <imra...@gmail.com> wrote:
>
>>
>>
>> On Thu, Jul 5, 2012 at 12:17 PM, <altufa...@mail.com> wrote:
>>
>>> With help of some scripting and SQL, you can find all UUIDs for files
>>> that you want to remove and shun them. after that when you rebuild, your
>>> repo file will be shrunk.
>>>
>>> It is a bit effort though.
>>>
>>>
>> Could somebody point out to the documentation of internal table structure
>> and their relationship?
>>
>>
>>
>>>
>>> > ----- Original Message -----
>>> > From: Stephan Beal
>>> > Sent: 07/05/12 09:15 AM
>>> > To: Fossil SCM user's discussion
>>> > Subject: Re: [fossil-users] How do I rebuild my fossil repo?
>>> >
>>> > Nothing can be removed from fossil. Ever. There is no way to shrink a
>>> repo,
>>> > only to re-create it with the desired files.
>>> > On Jul 5, 2012 2:54 AM, "Mohd Radzi Ibrahim" <imra...@gmail.com>
>>> wrote:
>>> >
>>> > > Hi,
>>> > >
>>> > > My problem is that when I started using fossil, there are so many
>>> unwanted
>>> > > files getting added my repository. Now, my repository database has
>>> already
>>> > > grown to 700mb. Some files were data files which were accidentally
>>> added by
>>> > > using addremove. My searching points to 'shun'; but it is
>>> impossible, since
>>> > > I could not find artifact that could be shunned. And painful, even
>>> if I
>>> > > found those files, since it could be numerous. What I want to do is
>>> to get
>>> > > a clean repo with current files I have in my checkout folders, with
>>> all
>>> > > tickets and historical events for those files.
>>> > >
>>> > > Thank you for any help rendered.
>>> > >
>>> > > best regards,
>>> > > Radzi.
>>> > >
>>> > > _______________________________________________
>>> > > fossil-users mailing list
>>> > > fossil-users@lists.fossil-scm.org
>>> > >
>>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>>> > >
>>> > >
>>> >
>>>
>>> _______________________________________________
>>> fossil-users mailing list
>>> fossil-users@lists.fossil-scm.org
>>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>>>
>>
>>
>> _______________________________________________
>> fossil-users mailing list
>> fossil-users@lists.fossil-scm.org
>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>>
>>
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
>
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to