On Wed, Jan 26, 2011 at 9:07 AM, Benoit Mortgat <[email protected]> wrote:

> Probably disallowing any character below or equal to 0x19 would be a good
> idea.
>
> But let us suppose that some fossil user has a repository with such a tag.
> Won't that break when trying to do a fossil update or fossil checkout?


I would rig it so that preexisting tags with invalid characters (say 0x19
and below) map those tags into new tags that simply omit the invalid
characters.



>
>
> On Wed, Jan 26, 2011 at 14:57, Richard Hipp <[email protected]> wrote:
>
>> On Wed, Jan 26, 2011 at 8:39 AM, David Bovill <[email protected]> wrote:
>>
>>> What are the permitted characters for a tag name? Are spaces or
>>> international characters allowed?
>>>
>>
>> I think all characters (other than 0x00) are allowed in tag names.  Try it
>> out.  If you run into problems, let me know and I'll fix them.
>>
>> In the Fossil self-hosting repository on the
>> http://www.fossil-scm.org/fossil/brlist page you'll see two branches
>> named "StvPrivateHook2".  There are two shown because one of them has a
>> space at the end of its name and so they really are two separate branches.
>>  :-(    Perhaps I should add a restriction somewhere that disallows
>> whitespace at the beginning or at the end of the tag name.  Maybe, too, I
>> should disallow CR and NL in tag names.  What do you think?
>>
>>
>>>
>>> _______________________________________________
>>> fossil-users mailing list
>>> [email protected]
>>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>>>
>>>
>>
>>
>> --
>> D. Richard Hipp
>> [email protected]
>>
>> _______________________________________________
>> fossil-users mailing list
>> [email protected]
>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>>
>>
>
>
> --
> Benoit Mortgat
> 20, avenue Marcel Paul
> 69200 Vénissieux, France
> +33 6 17 15 41 58 <tel:+33617154158>
> +33 4 27 11 61 23 <tel:+33427116123>
>
> _______________________________________________
> fossil-users mailing list
> [email protected]
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
>


-- 
D. Richard Hipp
[email protected]
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to