Re: [fossil-users] Tag problems

2017-12-16 Thread Andy Bradford
Thus said David Mason on Sat, 16 Dec 2017 15:36:51 -0500:

> I tried to add a tag to  my fossil. After looking at the documentation
> which said:

The ``fossil  tag'' command  is for very  low-level tag  operations. You
probably don't want to use it until you understand what it's doing.

> 1) -n did not prevent it from running.

That would seem to be a bug.

If you do actually want to add tags to commits from the command-line you
might want to look at ``fossil amend'' instead---it more closely mirrors
what is available in the UI:

http://www.fossil-scm.org/index.html/help?cmd=amend

> 4) There is no  mention of a "note" in the  documentation. It does say
> '?VALUE?' at the end of 'fs help  tag' but no indication what it is...
> and the word 'value' is used several times, but not referring to it.

Again, this requires a deeper knowledge of tags in Fossil. They are much
more generic  and can be used  for interesting things, but  probably not
what you expect, or want.

For more information

http://www.fossil-scm.org/index.html/doc/trunk/www/fileformat.wiki#ctrl

In your case, you didn't specify any of the ``special'' tags that Fossil
recognized, so it simply attached the  tag as a ``note'' to the artifact
that you specified:

http://www.fossil-scm.org/index.html/artifact?ln=2362,2366&name=2668a7564265b469

Andy
-- 
TAI64 timestamp: 40005a35c989


___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Tag problems

2017-12-16 Thread David Mason
I didn't want the other junk in there, so I re-cloned it. Then used the GUI
to tag the checkout.

A thought: if the default timeline didn't show edits (like colour or tags)
it would be cleaner (and less clamour for rebasing, perhaps).  Obviously
you'd want an option to see all the gory details.

On 16 December 2017 at 16:52, Richard Hipp  wrote:

> On 12/16/17, David Mason  wrote:
> > Can I back those out any way short of re-cloning the remote fossil?
>
> You can "cancel" the old tags so that they don't have any effect.  You
> should see "Cancel" buttons for each tag on the web-based edit page.
> --
> 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


Re: [fossil-users] Tag problems

2017-12-16 Thread Richard Hipp
On 12/16/17, David Mason  wrote:
> Can I back those out any way short of re-cloning the remote fossil?

You can "cancel" the old tags so that they don't have any effect.  You
should see "Cancel" buttons for each tag on the web-based edit page.
-- 
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


Re: [fossil-users] Tag problems

2017-12-16 Thread David Mason
Can I back those out any way short of re-cloning the remote fossil?

On 16 December 2017 at 16:10, Richard Hipp  wrote:

> On 12/16/17, David Mason  wrote:
> > I tried to add a tag to my fossil.
>
> I didn't write the "fossil tag" command - that is contributed code.
> Whenever I want to tag a check-in, I use the web interface.  I know
> the web interface works, because I use it all the time.  Have you
> tried creating the tag that way?
> --
> 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


Re: [fossil-users] Tag problems

2017-12-16 Thread Richard Hipp
On 12/16/17, David Mason  wrote:
> I tried to add a tag to my fossil.

I didn't write the "fossil tag" command - that is contributed code.
Whenever I want to tag a check-in, I use the web interface.  I know
the web interface works, because I use it all the time.  Have you
tried creating the tag that way?
-- 
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


Re: [fossil-users] fossil-users Digest, Vol 119, Issue 28

2017-12-16 Thread Ron W
On Sat, Dec 16, 2017 at 7:00 AM, 
wrote:

> Date: Fri, 15 Dec 2017 13:52:55 -0500
> From: Richard Hipp 
> Subject: Re: [fossil-users] tangent vs. wyoung on recent commti
>
> On 12/15/17, Andy Bradford  wrote:
> > As  stated  in  the  past,  Fossil  is meant  for  a  tighter  group  of
> > developers---perhaps   this  perception   has  changed---one   in  which
> > impersonation is unlikely.
> >
>
> I was very aware of all of these factors when I designed Fossil, 10
> years ago.  Impersonation was a concern.  But in a DVCS, there really
> is no way around it.
>
> Defenses include:
>
> (1) The rcvfrom table that shows clearly where all artifacts
> originated, thus allowing the originator of a deception to be tracked
> down and dealt with administratively.
>

Maybe there should be a way to store this rcvfrom table in artifacts so the
data is part of the permanent Fossil record.

Maybe as control artifacts to auto-tag each each commit received via
sync/pull/push?
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Tag problems

2017-12-16 Thread David Mason
I tried to add a tag to my fossil. After looking at the documentation which
said:

I did the following:
: ~/fs/Optijava ; fs tag add -n --user-override shruthi pre-dissertation
e5b61ea041
not found: pre-dissertation
: ~/fs/Optijava ; fs help tag|less
: ~/fs/Optijava ; fs tag add -n --user-override shruthi e5b61ea041
pre-dissertation
: ~/fs/Optijava ; fs time
=== 2017-12-16 ===
15:11:16 [5b755ab016] Edit [e5b61ea04194cb41|e5b61ea041]: Add tag "shruthi"
with note "pre-dissertation". (user: dmason)
=== 2017-12-12 ===
00:11:57 [e5b61ea041] *CURRENT* Adding spills before copy instructions
during calls (user: shruthi tags: trunk, shruthi).

A few problems:
1) -n did not prevent it from running.
2) --user-override didn't - and didn't consume a parameter and didn't give
any warning! I'm guessing I should have used --user-override=shruthi but
nothing indicates that and I don't want to put more crap in my timeline.
3) Initially I thought my tag vs. checkin order was wrong (i.e. that the
documentation was wrong on that) and then it did something, but not the
right thing.
4) There is no mention of a "note" in the documentation. It does say
'?VALUE?' at the end of 'fs help tag' but no indication what it is... and
the word 'value' is used several times, but not referring to it.
5) I presume these are on the local fossil - can I *REMOVE* them (I tried
cancel, but that just adds another record to the timeline!) I haven't done
anything else since to that fossil.

This is fossil version 2.3 [f7914bfdfa] 2017-07-21 03:19:30 UTC

Thanks ../Dave
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users