On Jun 21, 2017, at 8:48 PM, er38h...@yahoo.co.jp wrote:
> 
> bug export --git : error: multiple updates for ref ... not allowed
> 
> Git generates errors due to fossil inappropriate export code.

I’m glad someone decided to tackle this problem.  It is only a minor 
inconvenience to cancel superseded tags, but this is the sort of automation 
that the tool really should be able to handle on its own.

>    db_prepare(&q,
>       "SELECT tagname, rid, strftime('%%s',mtime),"
>       "       (SELECT coalesce(euser, user) FROM event WHERE objid=rid),"
>       "       value"
>       "  FROM tagxref JOIN tag USING(tagid)"
>       " WHERE tagtype=1 AND tagname GLOB 'sym-*'"
> +     " ORDER BY tagname ASC, mtime DESC"
>    );

Would it be possible to replace most of the rest of your patch by adding a 
LIMIT 1 clause here?

_______________________________________________
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