tada! That worked!

Question:
How come I cannot use fossil shun <a large file sha1> from a command line?
I can only shun from the ui?
That makes it difficult to automate if there are hundreds of files to shun. :(

Thanks for fossil.

On Tue, Sep 11, 2012 at 6:44 PM, Richard Hipp <d...@sqlite.org> wrote:
>
>
> On Tue, Sep 11, 2012 at 6:22 PM, <sky5w...@gmail.com> wrote:
>>
>> Ok, that removes the file from display, but the size of my repo has
>> been permanently grown by the unwanted large file.
>> Is that by design?
>
>
> Try "fossil rebuild --vacuum" and let us know if that fixes it.
>
>>
>> I am right back at the beginning of this post.
>> What if I or some other developer or some virus added ~../*.* ?
>> Would I/Should I be forever saddled with the new size of my repo?
>>
>> Wait! I ran a vacuum from within SQLiteExpert and my repo is back to
>> its original size!
>>
>> I know someone mentioned vacuum back many replies. But that did not
>> work on my earlier and real repo because I had shunned the commit
>> artifact, not the file in question.
>>
>> So now I get it.
>> 1. Shun the file(s) artifacts.
>> 2. Rebuild.
>> 3. Vacuum.
>>
>> Thanks!
>>
>> On Tue, Sep 11, 2012 at 4:13 PM, Richard Hipp <d...@sqlite.org> wrote:
>> >
>> >
>> > On Tue, Sep 11, 2012 at 3:51 PM, <sky5w...@gmail.com> wrote:
>> >>
>> >> Ok,
>> >> Tried all previous suggestions and no go.
>> >> Had a chance to do something very simple, but my experience was the
>> >> same.
>> >> I add a single LARGE file to my repo.
>> >> I commit.
>> >> I delete that LARGE file.
>> >> I commit.
>> >> I rebuild.
>> >> The repo file size still contains the LARGE file in the blob table.
>> >> Can I delete the offending blob record and recover my original repo
>> >> file
>> >> size?
>> >
>> >
>> > Find the SHA1 hash of the large file.  You can probably do this doing
>> > "fossil ui" and looking under the "Files" menu.
>> >
>> > Shun just that one SHA1.  Do *not* try to shun any other checkins or
>> > other
>> > files.  Just the one file you want to get rid of.
>> >
>> > After shunning, run rebuild to permanently delete the file.
>> >
>> >
>> >
>> > --
>> > D. Richard Hipp
>> > d...@sqlite.org
>> >
>> > _______________________________________________
>> > 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
>
>
>
>
> --
> D. Richard Hipp
> d...@sqlite.org
>
> _______________________________________________
> 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