Yes, it definitely makes sense that --tag should honor *, - and +. When it comes to the tags output in the editor document, could the tags added with tag add be included as well or are there some difficulties there? I should say that I am a relatively new Fossil user, and while I am comfortable using it I have next to no knowledge about the internals.

Kind regards,

Philip Bennefall
On 9/7/2014 5:56 PM, Stephan Beal wrote:
On Sun, Sep 7, 2014 at 5:42 PM, Philip Bennefall <phi...@blastbay.com <mailto:phi...@blastbay.com>> wrote:

    Just to be sure I understand you correctly, is there then a
    conceptual difference between tags added with tag add and --tag in
    the commit command?


No funcational difference.

    I thought that they were the same, with the main difference being
    that tags added in the commit command never propagate.


In principle a tag added via the CLI "should" be able to be any of the 3 tag types:

a) propagating
b) non-propagating
c) "cancel" (a.k.a. "anti-tag")

The only syntactic difference between the three is their initial starting character:

*propagating
+non-propagating
-cancel

However, the --tag option appears:

http://fossil-scm.org/index.html/info/9c962d6971b7b92374b0159e5c3068a7bc8f8797?ln=1236

to assume that all tags passed in this way are "symbolic" tags[1], and will in fact do non-intuitive things if you try to use: --tag '*propagating' (with an asterisk in front to make it look like a propagating tag). IMO the '*' at the front of the name should be respected to mean "this is a propagating tag," and a '-' at the front could/should be used to mean "cancel the tag." Potential points for improvement at some point.

[1] http://fossil-scm.org/index.html/doc/tip/www/branching.wiki

--
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do." -- Bigby Wolf

_______________________________________________
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