Stephan Beal wrote: > On Fri, Jul 18, 2014 at 6:06 PM, Matt Welland <estifo...@gmail.com> wrote: > > > It seems it is not possible to commit to a new branch from a closed > > branch. this is version 1.28. > > > > I think this should be allowed. Closing a branch only implies to me that > > no more commits are to be made to that branch. > > > > The offending code is in checkin.c: > > /* > ** Do not allow a commit against a closed leaf > */ > if( db_exists("SELECT 1 FROM tagxref" > " WHERE tagid=%d AND rid=%d AND tagtype>0", > TAG_CLOSED, vid) ){ > fossil_fatal("cannot commit against a closed leaf"); > } > > i unfortunately cannot say how that query needs to be changed to catch > that, but i'm betting that Jan can.
>From http://www.fossil-scm.org/index.html/doc/tip/www/branching.wiki: == Closed Leaf A closed leaf is any leaf with the closed tag. These leaves are intended to never be extended with descendants and hence are omitted from lists of leaves in the command-line and web interface. == The docs appear quite clear that the behavior OP complains about is intentional: regardless of whether the new check-in goes to a different branch, the new check-in is a direct descendant of the closed leaf. Probably the OP should just re-open the leaf and commit against it. -- Eric A. Rubin-Smith _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users