On Mon, Nov 14, 2011 at 6:56 AM, David Bovill <da...@vaudevillecourt.tv>wrote:

> Thanks for that. Is the behaviour I am seeing for creating new branches
> using:
>
> fossil branch new "Minimal" trunc
>
> normal (always asking for a pgp signature), or am I making a syntax error
> somewhere? I've just upgraded to the latest build and ran "fossil all
> rebuild", but get the same behaviour?
>

"fossil branch new" simply creates a new check-in which is unchanged from
the previous check-in.  It is equivalent to doing:

     fossil commit -f --branch Minimal

So if you have fossil configured to ask for the PGP signature when you
commit (which is off by default) then it shouldn't be asking for the PGP
signature when you do the "branch new".

If it is asking for PGP signatures, that's probably a (minor) bug.  I never
do "fossil branch new" myself - which is why I've never noticed this.



>
> On 14 November 2011 11:32, Stephan Beal <sgb...@googlemail.com> wrote:
>
>> On Mon, Nov 14, 2011 at 12:17 PM, David Bovill 
>> <da...@vaudevillecourt.tv>wrote:
>>
>>> *Empty Folders*
>>> When switching between branches, files are removed but empty folders are
>>> left hanging around. Empty folders also do not show up with "fossil
>>> extras". I'm looking to switch between branches, and not have separate
>>> checkouts, but need to avoid these empty folders. What's the syntax / best
>>> way to do this? I could I guess script something to delete all the files
>>> before checking out a branch, but this seems ugly?
>>>
>>
>> Fossil doesn't track directories. If you want to get rid of empty ones,
>> one way to do this in Unix is:
>>
>> find . -type d | xargs rmdir
>>
>> Notes:
>>
>> a) rmdir will refuse to delete non-empty dirs, so the above will likely
>> spit out harmless warnings for non-emtpy dirs.
>> b) spaces and whatnot in the names will break the above (how best/easiest
>> to fix it depends partly on whether you're using GNU find or not).
>>
>> --
>> ----- stephan beal
>> http://wanderinghorse.net/home/stephan/
>>
>> _______________________________________________
>> 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

Reply via email to