[prev in list] [next in list] [prev in thread] [next in thread]
List: fossil-users
Subject: Re: [fossil-users] not fossil-specific: use of tags/branches
From: Richard Hipp <drh () sqlite ! org>
Date: 2014-04-25 11:28:51
Message-ID: CALwJ=MzV+69CP9avr3PO85R3rPkGu3ZHTLrwjT2WMd4yyLkUOQ () mail ! gmail ! com
[Download RAW message or body]
On Fri, Apr 25, 2014 at 5:58 AM, Michai Ramakers <m.ramakers@gmail.com>wrote:
>
> I find myself having to answer the simple question "what part of the
> repo does a tag apply to", and for older repos and ill-chosen
> tagnames, this is not always obvious. Of course from fossil's point of
> view, a tag applies to the repo, period.
>
If the same tag applies to two or more things and you use that tag in a
context where it needs to mean one thing, then Fossil normally picks the
thing that is lastest in time.
So, for example, the Fossil self-hosting repo has 4954 objects tagged with
"trunk" - essentially every check-in that is on the trunk. But if you type
"fossil update trunk" or "fossil diff --from trunk" then it resolves
"trunk" to be the latest check-in with that tag.
--
D. Richard Hipp
drh@sqlite.org
[Attachment #3 (text/html)]
<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, \
Apr 25, 2014 at 5:58 AM, Michai Ramakers <span dir="ltr"><<a \
href="mailto:m.ramakers@gmail.com" \
target="_blank">m.ramakers@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><br> I find myself having to answer the simple question \
"what part of the<br> repo does a tag apply to", and for older repos and \
ill-chosen<br> tagnames, this is not always obvious. Of course from fossil's \
point of<br> view, a tag applies to the repo, \
period.<br></blockquote><div><br></div><div>If the same tag applies to two or more \
things and you use that tag in a context where it needs to mean one thing, then \
Fossil normally picks the thing that is lastest in time.<br>
<br>So, for example, the Fossil self-hosting repo has 4954 objects tagged with \
"trunk" - essentially every check-in that is on the trunk. But if you \
type "fossil update trunk" or "fossil diff --from trunk" then it \
resolves "trunk" to be the latest check-in with that tag.<br>
</div><div><br> </div></div>-- <br>D. Richard Hipp<br><a \
href="mailto:drh@sqlite.org" target="_blank">drh@sqlite.org</a> </div></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic