On Fri, Jul 18, 2014 at 2:23 PM, Ron W <ronw.m...@gmail.com> wrote:

>
> /*
>   ** If not creating a new branch, do not allow a commit against a closed
> branch
>   */
> if( /* not creating new branch */ ){
>

I think if you wanted to be pedantic, you should also check to make sure
that the new branch name is not equal to the old branch name.  But I almost
feel like I'd be willing to overlook that corner-case....



>   if( db_exists("SELECT 1 FROM tagxref"
>                 " WHERE tagid=%d AND rid=%d AND tagtype>0",
>                 TAG_BRCLOSED, vid) ){
>     fossil_fatal("cannot commit into a closed branch");
>   }
> }
>
>
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
>


-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
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