On Fri, Nov 20, 2015 at 10:52 PM, Eduard <eduard.c.dumitre...@gmail.com>
wrote:

> On 11/20/2015 04:06 PM, Stephan Beal wrote:
>
>
>>
>> $ f status
>> tags:         pending-review
>>               (user: andybradford)
>> $ f up -n
>> UPDATE src/add.c
>>
>> -------------------------------------------------------------------------------
>> updated-to:   d83fc58dead2d03428a763b0890b8b5fbffb7957 2014-01-09
>> 13:17:23 UTC
>> tags:         pending-review
>> comment:      Add comments to better explain what it happening for the
>> out-of-tree check
>>               in the "add" command. (user: drh)
>> changes:      1 file modified.
>> $ f up -n pending-review
>> updated-to:   2a1d7e0efc0f048b495815bac577d3c0f5c4d9a6 2015-10-20
>> 08:14:11 UTC
>> tags:         pending-review
>> comment:      Docker build "release" by default. Meant for upcoming
>> Fossil release. (user:
>>               jan.nijtmans)
>> changes:      322 files modified.
>>
>
> Aha, now i see the problem. i don't have a solution. In such a crazy case,
> using the UUID is really the only sane choice.
>
> So uh is there any chance of adding an alias for this (@drh)? It's easy to
> write a shell script that does it, but it seems to me that this is
> something that should really be within fossil itself (since not every
> fossil user necessarily knows how to write shell scripts).
>

i don't think an alias is needed - simply leave out the branch name when
you do 'update' (or pass the name 'current'). Then, according to the
code-level docs, if you leave out a name or use 'current', it will look for
a direct ancestor. Try it with 'current' and see if that solves your case.

-- 
----- 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