Fossil

Diff
Login

Differences From Artifact [ee3b58703f]:

To Artifact [38dd8e9b10]:


74
75
76
77
78
79
80

81
82
83
84
85
86
87
88
89
90
91
92
      fossil_fatal("not a version: %s", g.argv[2]);
    }
    if( !is_a_version(tid) ){
      fossil_fatal("not a version: %s", g.argv[2]);
    }
  }


  if( do_autosync() ){  
    g.argc=2;
    g.argv[1]="pull";
    pull_cmd();
  }

  if( tid==0 ){
    compute_leaves(vid);
    if( !latestFlag && db_int(0, "SELECT count(*) FROM leaves")>1 ){
      db_prepare(&q, 
        "%s "
        "   AND event.objid IN leaves"







>
|
<
<
<
<







74
75
76
77
78
79
80
81
82




83
84
85
86
87
88
89
      fossil_fatal("not a version: %s", g.argv[2]);
    }
    if( !is_a_version(tid) ){
      fossil_fatal("not a version: %s", g.argv[2]);
    }
  }

  /* Do an autosync pull prior to the update, if autosync is on */
  autosync(1);





  if( tid==0 ){
    compute_leaves(vid);
    if( !latestFlag && db_int(0, "SELECT count(*) FROM leaves")>1 ){
      db_prepare(&q, 
        "%s "
        "   AND event.objid IN leaves"