Fossil

Check-in [1719815a47]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:When attempting to "fossil update" on a closed branch, move to the end of the branch. Ticket [375e5703329a743339]
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 1719815a47b6bc6f7e82b8b104a017ad7dddaee5
User & Date: drh 2010-11-25 01:52:18.000
Context
2010-11-25
02:42
Remove the "Leaves" menu-bar item from the default setup. check-in: f5efd3f359 user: drh tags: trunk
01:52
When attempting to "fossil update" on a closed branch, move to the end of the branch. Ticket [375e5703329a743339] check-in: 1719815a47 user: drh tags: trunk
00:17
Add a new link to the check-in "info" page that goes to a timeline showing just the immediate parents and children of a check-in. Ticket [746949c9318554c137f5]. check-in: 8c04a873c8 user: drh tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/update.c.
95
96
97
98
99
100
101

102
103
104
105
106
107
108
        fossil_fatal("no such version: %s", g.argv[2]);
      }
    }
  }
  
  if( tid==0 ){
    compute_leaves(vid, 1);

    if( !latestFlag && db_int(0, "SELECT count(*) FROM leaves")>1 ){
      db_prepare(&q, 
        "%s "
        "   AND event.objid IN leaves"
        " ORDER BY event.mtime DESC",
        timeline_query_for_tty()
      );







>







95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
        fossil_fatal("no such version: %s", g.argv[2]);
      }
    }
  }
  
  if( tid==0 ){
    compute_leaves(vid, 1);
    if( !db_exists("SELECT 1 FROM leaves") ) compute_leaves(vid, 0);
    if( !latestFlag && db_int(0, "SELECT count(*) FROM leaves")>1 ){
      db_prepare(&q, 
        "%s "
        "   AND event.objid IN leaves"
        " ORDER BY event.mtime DESC",
        timeline_query_for_tty()
      );