Fossil SCM

Cherrypick [b4dffdac5e]: Avoid unnecessary no-op write transactions on the server during a pull. Adapt changes.wiki will all candidate cherry-picks so far.

jan.nijtmans 2014-02-16 21:30 UTC branch-1.28
Commit ebac09bcf72fbed9b389c07766a931264df9e304
+7 -5
--- src/manifest.c
+++ src/manifest.c
@@ -1540,15 +1540,17 @@
15401540
db_step(&u);
15411541
db_reset(&u);
15421542
}
15431543
db_finalize(&q);
15441544
db_finalize(&u);
1545
- db_multi_exec(
1546
- "UPDATE event SET mtime=(SELECT m1 FROM time_fudge WHERE mid=objid)"
1547
- " WHERE objid IN (SELECT mid FROM time_fudge);"
1548
- "DROP TABLE time_fudge;"
1549
- );
1545
+ if( db_exists("SELECT 1 FROM time_fudge") ){
1546
+ db_multi_exec(
1547
+ "UPDATE event SET mtime=(SELECT m1 FROM time_fudge WHERE mid=objid)"
1548
+ " WHERE objid IN (SELECT mid FROM time_fudge);"
1549
+ );
1550
+ }
1551
+ db_multi_exec("DROP TABLE time_fudge;");
15501552
15511553
db_end_transaction(0);
15521554
manifest_crosslink_busy = 0;
15531555
return ( rc!=TH_ERROR );
15541556
}
15551557
--- src/manifest.c
+++ src/manifest.c
@@ -1540,15 +1540,17 @@
1540 db_step(&u);
1541 db_reset(&u);
1542 }
1543 db_finalize(&q);
1544 db_finalize(&u);
1545 db_multi_exec(
1546 "UPDATE event SET mtime=(SELECT m1 FROM time_fudge WHERE mid=objid)"
1547 " WHERE objid IN (SELECT mid FROM time_fudge);"
1548 "DROP TABLE time_fudge;"
1549 );
 
 
1550
1551 db_end_transaction(0);
1552 manifest_crosslink_busy = 0;
1553 return ( rc!=TH_ERROR );
1554 }
1555
--- src/manifest.c
+++ src/manifest.c
@@ -1540,15 +1540,17 @@
1540 db_step(&u);
1541 db_reset(&u);
1542 }
1543 db_finalize(&q);
1544 db_finalize(&u);
1545 if( db_exists("SELECT 1 FROM time_fudge") ){
1546 db_multi_exec(
1547 "UPDATE event SET mtime=(SELECT m1 FROM time_fudge WHERE mid=objid)"
1548 " WHERE objid IN (SELECT mid FROM time_fudge);"
1549 );
1550 }
1551 db_multi_exec("DROP TABLE time_fudge;");
1552
1553 db_end_transaction(0);
1554 manifest_crosslink_busy = 0;
1555 return ( rc!=TH_ERROR );
1556 }
1557
+14 -1
--- www/changes.wiki
+++ www/changes.wiki
@@ -1,8 +1,21 @@
11
<title>Change Log</title>
22
3
-<h2>Changes For Version 1.28 (as yet unreleased)</h2>
3
+<h2>Changes For Version 1.28.1 (most likely never being released, those
4
+are candidate cherry-picks just in case)</h2>
5
+ * Upgraded internal SQLite to version 3.8.3.1, which adds support
6
+ for CTE and the WITH clause, and fixes various SQLite bugs.
7
+ * Relax minimum SQLite version check to 3.7.17, as Fossil 1.28
8
+ actually works fine with "configure --disable-internal-sqlite"
9
+ See: [https://www.mail-archive.com/[email protected]/msg14520.html]
10
+ * Make "fossil diff --tk" work out-of-the-box on Windows when
11
+ Activestate Tcl is installed.
12
+ * Bug-fix [d8a588ba765ae5be]
13
+ * [b4dffdac5e]: Avoid unnecessary no-op write transactions on the
14
+ server during a pull.
15
+
16
+<h2>Changes For Version 1.28 (2014-01-27)</h2>
417
* Enhance [/help?cmd=/reports | /reports] to support event type filtering.
518
* When cloning a repository, the user name passed via the URL (if any)
619
is now used as the default local admin user's name.
720
* Enhance the SSH transport mechanism so that it runs a single instance of
821
the "fossil" executable on the remote side, obviating the need for a shell
922
--- www/changes.wiki
+++ www/changes.wiki
@@ -1,8 +1,21 @@
1 <title>Change Log</title>
2
3 <h2>Changes For Version 1.28 (as yet unreleased)</h2>
 
 
 
 
 
 
 
 
 
 
 
 
 
4 * Enhance [/help?cmd=/reports | /reports] to support event type filtering.
5 * When cloning a repository, the user name passed via the URL (if any)
6 is now used as the default local admin user's name.
7 * Enhance the SSH transport mechanism so that it runs a single instance of
8 the "fossil" executable on the remote side, obviating the need for a shell
9
--- www/changes.wiki
+++ www/changes.wiki
@@ -1,8 +1,21 @@
1 <title>Change Log</title>
2
3 <h2>Changes For Version 1.28.1 (most likely never being released, those
4 are candidate cherry-picks just in case)</h2>
5 * Upgraded internal SQLite to version 3.8.3.1, which adds support
6 for CTE and the WITH clause, and fixes various SQLite bugs.
7 * Relax minimum SQLite version check to 3.7.17, as Fossil 1.28
8 actually works fine with "configure --disable-internal-sqlite"
9 See: [https://www.mail-archive.com/[email protected]/msg14520.html]
10 * Make "fossil diff --tk" work out-of-the-box on Windows when
11 Activestate Tcl is installed.
12 * Bug-fix [d8a588ba765ae5be]
13 * [b4dffdac5e]: Avoid unnecessary no-op write transactions on the
14 server during a pull.
15
16 <h2>Changes For Version 1.28 (2014-01-27)</h2>
17 * Enhance [/help?cmd=/reports | /reports] to support event type filtering.
18 * When cloning a repository, the user name passed via the URL (if any)
19 is now used as the default local admin user's name.
20 * Enhance the SSH transport mechanism so that it runs a single instance of
21 the "fossil" executable on the remote side, obviating the need for a shell
22
+14 -1
--- www/changes.wiki
+++ www/changes.wiki
@@ -1,8 +1,21 @@
11
<title>Change Log</title>
22
3
-<h2>Changes For Version 1.28 (as yet unreleased)</h2>
3
+<h2>Changes For Version 1.28.1 (most likely never being released, those
4
+are candidate cherry-picks just in case)</h2>
5
+ * Upgraded internal SQLite to version 3.8.3.1, which adds support
6
+ for CTE and the WITH clause, and fixes various SQLite bugs.
7
+ * Relax minimum SQLite version check to 3.7.17, as Fossil 1.28
8
+ actually works fine with "configure --disable-internal-sqlite"
9
+ See: [https://www.mail-archive.com/[email protected]/msg14520.html]
10
+ * Make "fossil diff --tk" work out-of-the-box on Windows when
11
+ Activestate Tcl is installed.
12
+ * Bug-fix [d8a588ba765ae5be]
13
+ * [b4dffdac5e]: Avoid unnecessary no-op write transactions on the
14
+ server during a pull.
15
+
16
+<h2>Changes For Version 1.28 (2014-01-27)</h2>
417
* Enhance [/help?cmd=/reports | /reports] to support event type filtering.
518
* When cloning a repository, the user name passed via the URL (if any)
619
is now used as the default local admin user's name.
720
* Enhance the SSH transport mechanism so that it runs a single instance of
821
the "fossil" executable on the remote side, obviating the need for a shell
922
--- www/changes.wiki
+++ www/changes.wiki
@@ -1,8 +1,21 @@
1 <title>Change Log</title>
2
3 <h2>Changes For Version 1.28 (as yet unreleased)</h2>
 
 
 
 
 
 
 
 
 
 
 
 
 
4 * Enhance [/help?cmd=/reports | /reports] to support event type filtering.
5 * When cloning a repository, the user name passed via the URL (if any)
6 is now used as the default local admin user's name.
7 * Enhance the SSH transport mechanism so that it runs a single instance of
8 the "fossil" executable on the remote side, obviating the need for a shell
9
--- www/changes.wiki
+++ www/changes.wiki
@@ -1,8 +1,21 @@
1 <title>Change Log</title>
2
3 <h2>Changes For Version 1.28.1 (most likely never being released, those
4 are candidate cherry-picks just in case)</h2>
5 * Upgraded internal SQLite to version 3.8.3.1, which adds support
6 for CTE and the WITH clause, and fixes various SQLite bugs.
7 * Relax minimum SQLite version check to 3.7.17, as Fossil 1.28
8 actually works fine with "configure --disable-internal-sqlite"
9 See: [https://www.mail-archive.com/[email protected]/msg14520.html]
10 * Make "fossil diff --tk" work out-of-the-box on Windows when
11 Activestate Tcl is installed.
12 * Bug-fix [d8a588ba765ae5be]
13 * [b4dffdac5e]: Avoid unnecessary no-op write transactions on the
14 server during a pull.
15
16 <h2>Changes For Version 1.28 (2014-01-27)</h2>
17 * Enhance [/help?cmd=/reports | /reports] to support event type filtering.
18 * When cloning a repository, the user name passed via the URL (if any)
19 is now used as the default local admin user's name.
20 * Enhance the SSH transport mechanism so that it runs a single instance of
21 the "fossil" executable on the remote side, obviating the need for a shell
22

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button