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.

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