Fossil SCM
Merge trunk.
Commit
d186eb56f159dd61d7b0fbcb0e5d80785e31861e
Parent
849cf1d1a05121f…
4 files changed
+5
-6
+5
-6
+1
+1
+5
-6
| --- src/checkin.c | ||
| +++ src/checkin.c | ||
| @@ -1908,11 +1908,11 @@ | ||
| 1908 | 1908 | /* Step 2: Insert records for all modified files into the blob |
| 1909 | 1909 | ** table. If there were arguments passed to this command, only |
| 1910 | 1910 | ** the identified files are inserted (if they have been modified). |
| 1911 | 1911 | */ |
| 1912 | 1912 | db_prepare(&q, |
| 1913 | - "SELECT id, %Q || pathname, mrid, %s, chnged, %s, %s FROM vfile " | |
| 1913 | + "SELECT id, %Q || pathname, mrid, %s, %s, %s FROM vfile " | |
| 1914 | 1914 | "WHERE chnged==1 AND NOT deleted AND is_selected(id)", |
| 1915 | 1915 | g.zLocalRoot, |
| 1916 | 1916 | glob_expr("pathname", db_get("crnl-glob","")), |
| 1917 | 1917 | glob_expr("pathname", db_get("binary-glob","")), |
| 1918 | 1918 | glob_expr("pathname", db_get("encoding-glob","")) |
| @@ -1919,19 +1919,18 @@ | ||
| 1919 | 1919 | ); |
| 1920 | 1920 | while( db_step(&q)==SQLITE_ROW ){ |
| 1921 | 1921 | int id, rid; |
| 1922 | 1922 | const char *zFullname; |
| 1923 | 1923 | Blob content; |
| 1924 | - int crnlOk, binOk, encodingOk, chnged; | |
| 1924 | + int crnlOk, binOk, encodingOk; | |
| 1925 | 1925 | |
| 1926 | 1926 | id = db_column_int(&q, 0); |
| 1927 | 1927 | zFullname = db_column_text(&q, 1); |
| 1928 | 1928 | rid = db_column_int(&q, 2); |
| 1929 | 1929 | crnlOk = db_column_int(&q, 3); |
| 1930 | - chnged = db_column_int(&q, 4); | |
| 1931 | - binOk = db_column_int(&q, 5); | |
| 1932 | - encodingOk = db_column_int(&q, 6); | |
| 1930 | + binOk = db_column_int(&q, 4); | |
| 1931 | + encodingOk = db_column_int(&q, 5); | |
| 1933 | 1932 | |
| 1934 | 1933 | blob_zero(&content); |
| 1935 | 1934 | if( file_wd_islink(zFullname) ){ |
| 1936 | 1935 | /* Instead of file content, put link destination path */ |
| 1937 | 1936 | blob_read_link(&content, zFullname); |
| @@ -1941,11 +1940,11 @@ | ||
| 1941 | 1940 | /* Do not emit any warnings when they are disabled. */ |
| 1942 | 1941 | if( !noWarningFlag ){ |
| 1943 | 1942 | abortCommit |= commit_warning(&content, crnlOk, binOk, |
| 1944 | 1943 | encodingOk, zFullname); |
| 1945 | 1944 | } |
| 1946 | - if( chnged==1 && contains_merge_marker(&content) ){ | |
| 1945 | + if( contains_merge_marker(&content) ){ | |
| 1947 | 1946 | Blob fname; /* Relative pathname of the file */ |
| 1948 | 1947 | |
| 1949 | 1948 | nConflict++; |
| 1950 | 1949 | file_relative_name(zFullname, &fname, 0); |
| 1951 | 1950 | fossil_print("possible unresolved merge conflict in %s\n", |
| 1952 | 1951 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -1908,11 +1908,11 @@ | |
| 1908 | /* Step 2: Insert records for all modified files into the blob |
| 1909 | ** table. If there were arguments passed to this command, only |
| 1910 | ** the identified files are inserted (if they have been modified). |
| 1911 | */ |
| 1912 | db_prepare(&q, |
| 1913 | "SELECT id, %Q || pathname, mrid, %s, chnged, %s, %s FROM vfile " |
| 1914 | "WHERE chnged==1 AND NOT deleted AND is_selected(id)", |
| 1915 | g.zLocalRoot, |
| 1916 | glob_expr("pathname", db_get("crnl-glob","")), |
| 1917 | glob_expr("pathname", db_get("binary-glob","")), |
| 1918 | glob_expr("pathname", db_get("encoding-glob","")) |
| @@ -1919,19 +1919,18 @@ | |
| 1919 | ); |
| 1920 | while( db_step(&q)==SQLITE_ROW ){ |
| 1921 | int id, rid; |
| 1922 | const char *zFullname; |
| 1923 | Blob content; |
| 1924 | int crnlOk, binOk, encodingOk, chnged; |
| 1925 | |
| 1926 | id = db_column_int(&q, 0); |
| 1927 | zFullname = db_column_text(&q, 1); |
| 1928 | rid = db_column_int(&q, 2); |
| 1929 | crnlOk = db_column_int(&q, 3); |
| 1930 | chnged = db_column_int(&q, 4); |
| 1931 | binOk = db_column_int(&q, 5); |
| 1932 | encodingOk = db_column_int(&q, 6); |
| 1933 | |
| 1934 | blob_zero(&content); |
| 1935 | if( file_wd_islink(zFullname) ){ |
| 1936 | /* Instead of file content, put link destination path */ |
| 1937 | blob_read_link(&content, zFullname); |
| @@ -1941,11 +1940,11 @@ | |
| 1941 | /* Do not emit any warnings when they are disabled. */ |
| 1942 | if( !noWarningFlag ){ |
| 1943 | abortCommit |= commit_warning(&content, crnlOk, binOk, |
| 1944 | encodingOk, zFullname); |
| 1945 | } |
| 1946 | if( chnged==1 && contains_merge_marker(&content) ){ |
| 1947 | Blob fname; /* Relative pathname of the file */ |
| 1948 | |
| 1949 | nConflict++; |
| 1950 | file_relative_name(zFullname, &fname, 0); |
| 1951 | fossil_print("possible unresolved merge conflict in %s\n", |
| 1952 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -1908,11 +1908,11 @@ | |
| 1908 | /* Step 2: Insert records for all modified files into the blob |
| 1909 | ** table. If there were arguments passed to this command, only |
| 1910 | ** the identified files are inserted (if they have been modified). |
| 1911 | */ |
| 1912 | db_prepare(&q, |
| 1913 | "SELECT id, %Q || pathname, mrid, %s, %s, %s FROM vfile " |
| 1914 | "WHERE chnged==1 AND NOT deleted AND is_selected(id)", |
| 1915 | g.zLocalRoot, |
| 1916 | glob_expr("pathname", db_get("crnl-glob","")), |
| 1917 | glob_expr("pathname", db_get("binary-glob","")), |
| 1918 | glob_expr("pathname", db_get("encoding-glob","")) |
| @@ -1919,19 +1919,18 @@ | |
| 1919 | ); |
| 1920 | while( db_step(&q)==SQLITE_ROW ){ |
| 1921 | int id, rid; |
| 1922 | const char *zFullname; |
| 1923 | Blob content; |
| 1924 | int crnlOk, binOk, encodingOk; |
| 1925 | |
| 1926 | id = db_column_int(&q, 0); |
| 1927 | zFullname = db_column_text(&q, 1); |
| 1928 | rid = db_column_int(&q, 2); |
| 1929 | crnlOk = db_column_int(&q, 3); |
| 1930 | binOk = db_column_int(&q, 4); |
| 1931 | encodingOk = db_column_int(&q, 5); |
| 1932 | |
| 1933 | blob_zero(&content); |
| 1934 | if( file_wd_islink(zFullname) ){ |
| 1935 | /* Instead of file content, put link destination path */ |
| 1936 | blob_read_link(&content, zFullname); |
| @@ -1941,11 +1940,11 @@ | |
| 1940 | /* Do not emit any warnings when they are disabled. */ |
| 1941 | if( !noWarningFlag ){ |
| 1942 | abortCommit |= commit_warning(&content, crnlOk, binOk, |
| 1943 | encodingOk, zFullname); |
| 1944 | } |
| 1945 | if( contains_merge_marker(&content) ){ |
| 1946 | Blob fname; /* Relative pathname of the file */ |
| 1947 | |
| 1948 | nConflict++; |
| 1949 | file_relative_name(zFullname, &fname, 0); |
| 1950 | fossil_print("possible unresolved merge conflict in %s\n", |
| 1951 |
+5
-6
| --- src/checkin.c | ||
| +++ src/checkin.c | ||
| @@ -1908,11 +1908,11 @@ | ||
| 1908 | 1908 | /* Step 2: Insert records for all modified files into the blob |
| 1909 | 1909 | ** table. If there were arguments passed to this command, only |
| 1910 | 1910 | ** the identified files are inserted (if they have been modified). |
| 1911 | 1911 | */ |
| 1912 | 1912 | db_prepare(&q, |
| 1913 | - "SELECT id, %Q || pathname, mrid, %s, chnged, %s, %s FROM vfile " | |
| 1913 | + "SELECT id, %Q || pathname, mrid, %s, %s, %s FROM vfile " | |
| 1914 | 1914 | "WHERE chnged==1 AND NOT deleted AND is_selected(id)", |
| 1915 | 1915 | g.zLocalRoot, |
| 1916 | 1916 | glob_expr("pathname", db_get("crnl-glob","")), |
| 1917 | 1917 | glob_expr("pathname", db_get("binary-glob","")), |
| 1918 | 1918 | glob_expr("pathname", db_get("encoding-glob","")) |
| @@ -1919,19 +1919,18 @@ | ||
| 1919 | 1919 | ); |
| 1920 | 1920 | while( db_step(&q)==SQLITE_ROW ){ |
| 1921 | 1921 | int id, rid; |
| 1922 | 1922 | const char *zFullname; |
| 1923 | 1923 | Blob content; |
| 1924 | - int crnlOk, binOk, encodingOk, chnged; | |
| 1924 | + int crnlOk, binOk, encodingOk; | |
| 1925 | 1925 | |
| 1926 | 1926 | id = db_column_int(&q, 0); |
| 1927 | 1927 | zFullname = db_column_text(&q, 1); |
| 1928 | 1928 | rid = db_column_int(&q, 2); |
| 1929 | 1929 | crnlOk = db_column_int(&q, 3); |
| 1930 | - chnged = db_column_int(&q, 4); | |
| 1931 | - binOk = db_column_int(&q, 5); | |
| 1932 | - encodingOk = db_column_int(&q, 6); | |
| 1930 | + binOk = db_column_int(&q, 4); | |
| 1931 | + encodingOk = db_column_int(&q, 5); | |
| 1933 | 1932 | |
| 1934 | 1933 | blob_zero(&content); |
| 1935 | 1934 | if( file_wd_islink(zFullname) ){ |
| 1936 | 1935 | /* Instead of file content, put link destination path */ |
| 1937 | 1936 | blob_read_link(&content, zFullname); |
| @@ -1941,11 +1940,11 @@ | ||
| 1941 | 1940 | /* Do not emit any warnings when they are disabled. */ |
| 1942 | 1941 | if( !noWarningFlag ){ |
| 1943 | 1942 | abortCommit |= commit_warning(&content, crnlOk, binOk, |
| 1944 | 1943 | encodingOk, zFullname); |
| 1945 | 1944 | } |
| 1946 | - if( chnged==1 && contains_merge_marker(&content) ){ | |
| 1945 | + if( contains_merge_marker(&content) ){ | |
| 1947 | 1946 | Blob fname; /* Relative pathname of the file */ |
| 1948 | 1947 | |
| 1949 | 1948 | nConflict++; |
| 1950 | 1949 | file_relative_name(zFullname, &fname, 0); |
| 1951 | 1950 | fossil_print("possible unresolved merge conflict in %s\n", |
| 1952 | 1951 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -1908,11 +1908,11 @@ | |
| 1908 | /* Step 2: Insert records for all modified files into the blob |
| 1909 | ** table. If there were arguments passed to this command, only |
| 1910 | ** the identified files are inserted (if they have been modified). |
| 1911 | */ |
| 1912 | db_prepare(&q, |
| 1913 | "SELECT id, %Q || pathname, mrid, %s, chnged, %s, %s FROM vfile " |
| 1914 | "WHERE chnged==1 AND NOT deleted AND is_selected(id)", |
| 1915 | g.zLocalRoot, |
| 1916 | glob_expr("pathname", db_get("crnl-glob","")), |
| 1917 | glob_expr("pathname", db_get("binary-glob","")), |
| 1918 | glob_expr("pathname", db_get("encoding-glob","")) |
| @@ -1919,19 +1919,18 @@ | |
| 1919 | ); |
| 1920 | while( db_step(&q)==SQLITE_ROW ){ |
| 1921 | int id, rid; |
| 1922 | const char *zFullname; |
| 1923 | Blob content; |
| 1924 | int crnlOk, binOk, encodingOk, chnged; |
| 1925 | |
| 1926 | id = db_column_int(&q, 0); |
| 1927 | zFullname = db_column_text(&q, 1); |
| 1928 | rid = db_column_int(&q, 2); |
| 1929 | crnlOk = db_column_int(&q, 3); |
| 1930 | chnged = db_column_int(&q, 4); |
| 1931 | binOk = db_column_int(&q, 5); |
| 1932 | encodingOk = db_column_int(&q, 6); |
| 1933 | |
| 1934 | blob_zero(&content); |
| 1935 | if( file_wd_islink(zFullname) ){ |
| 1936 | /* Instead of file content, put link destination path */ |
| 1937 | blob_read_link(&content, zFullname); |
| @@ -1941,11 +1940,11 @@ | |
| 1941 | /* Do not emit any warnings when they are disabled. */ |
| 1942 | if( !noWarningFlag ){ |
| 1943 | abortCommit |= commit_warning(&content, crnlOk, binOk, |
| 1944 | encodingOk, zFullname); |
| 1945 | } |
| 1946 | if( chnged==1 && contains_merge_marker(&content) ){ |
| 1947 | Blob fname; /* Relative pathname of the file */ |
| 1948 | |
| 1949 | nConflict++; |
| 1950 | file_relative_name(zFullname, &fname, 0); |
| 1951 | fossil_print("possible unresolved merge conflict in %s\n", |
| 1952 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -1908,11 +1908,11 @@ | |
| 1908 | /* Step 2: Insert records for all modified files into the blob |
| 1909 | ** table. If there were arguments passed to this command, only |
| 1910 | ** the identified files are inserted (if they have been modified). |
| 1911 | */ |
| 1912 | db_prepare(&q, |
| 1913 | "SELECT id, %Q || pathname, mrid, %s, %s, %s FROM vfile " |
| 1914 | "WHERE chnged==1 AND NOT deleted AND is_selected(id)", |
| 1915 | g.zLocalRoot, |
| 1916 | glob_expr("pathname", db_get("crnl-glob","")), |
| 1917 | glob_expr("pathname", db_get("binary-glob","")), |
| 1918 | glob_expr("pathname", db_get("encoding-glob","")) |
| @@ -1919,19 +1919,18 @@ | |
| 1919 | ); |
| 1920 | while( db_step(&q)==SQLITE_ROW ){ |
| 1921 | int id, rid; |
| 1922 | const char *zFullname; |
| 1923 | Blob content; |
| 1924 | int crnlOk, binOk, encodingOk; |
| 1925 | |
| 1926 | id = db_column_int(&q, 0); |
| 1927 | zFullname = db_column_text(&q, 1); |
| 1928 | rid = db_column_int(&q, 2); |
| 1929 | crnlOk = db_column_int(&q, 3); |
| 1930 | binOk = db_column_int(&q, 4); |
| 1931 | encodingOk = db_column_int(&q, 5); |
| 1932 | |
| 1933 | blob_zero(&content); |
| 1934 | if( file_wd_islink(zFullname) ){ |
| 1935 | /* Instead of file content, put link destination path */ |
| 1936 | blob_read_link(&content, zFullname); |
| @@ -1941,11 +1940,11 @@ | |
| 1940 | /* Do not emit any warnings when they are disabled. */ |
| 1941 | if( !noWarningFlag ){ |
| 1942 | abortCommit |= commit_warning(&content, crnlOk, binOk, |
| 1943 | encodingOk, zFullname); |
| 1944 | } |
| 1945 | if( contains_merge_marker(&content) ){ |
| 1946 | Blob fname; /* Relative pathname of the file */ |
| 1947 | |
| 1948 | nConflict++; |
| 1949 | file_relative_name(zFullname, &fname, 0); |
| 1950 | fossil_print("possible unresolved merge conflict in %s\n", |
| 1951 |
+1
| --- www/changes.wiki | ||
| +++ www/changes.wiki | ||
| @@ -33,10 +33,11 @@ | ||
| 33 | 33 | checked into the repository. |
| 34 | 34 | * Update the built-in SQLite to version 3.8.10.1. |
| 35 | 35 | * Make [/help?cmd=open|fossil open] honor ".fossil-settings/allow-symlinks". |
| 36 | 36 | * Allow [/help?cmd=add|fossil add] to be used on symlinks to nonexistent or |
| 37 | 37 | unreadable files in the same way as [/help?cmd=addremove|fossil addremove]. |
| 38 | + * Added fork warning to be issued if sync produced a fork | |
| 38 | 39 | * Have [/help/cmd=changes|fossil changes] and |
| 39 | 40 | [/help/cmd=status|fossil status] report when executable or symlink status |
| 40 | 41 | changes on otherwise unmodified files. |
| 41 | 42 | |
| 42 | 43 | <h2>Changes for Version 1.32 (2015-03-14)</h2> |
| 43 | 44 |
| --- www/changes.wiki | |
| +++ www/changes.wiki | |
| @@ -33,10 +33,11 @@ | |
| 33 | checked into the repository. |
| 34 | * Update the built-in SQLite to version 3.8.10.1. |
| 35 | * Make [/help?cmd=open|fossil open] honor ".fossil-settings/allow-symlinks". |
| 36 | * Allow [/help?cmd=add|fossil add] to be used on symlinks to nonexistent or |
| 37 | unreadable files in the same way as [/help?cmd=addremove|fossil addremove]. |
| 38 | * Have [/help/cmd=changes|fossil changes] and |
| 39 | [/help/cmd=status|fossil status] report when executable or symlink status |
| 40 | changes on otherwise unmodified files. |
| 41 | |
| 42 | <h2>Changes for Version 1.32 (2015-03-14)</h2> |
| 43 |
| --- www/changes.wiki | |
| +++ www/changes.wiki | |
| @@ -33,10 +33,11 @@ | |
| 33 | checked into the repository. |
| 34 | * Update the built-in SQLite to version 3.8.10.1. |
| 35 | * Make [/help?cmd=open|fossil open] honor ".fossil-settings/allow-symlinks". |
| 36 | * Allow [/help?cmd=add|fossil add] to be used on symlinks to nonexistent or |
| 37 | unreadable files in the same way as [/help?cmd=addremove|fossil addremove]. |
| 38 | * Added fork warning to be issued if sync produced a fork |
| 39 | * Have [/help/cmd=changes|fossil changes] and |
| 40 | [/help/cmd=status|fossil status] report when executable or symlink status |
| 41 | changes on otherwise unmodified files. |
| 42 | |
| 43 | <h2>Changes for Version 1.32 (2015-03-14)</h2> |
| 44 |
+1
| --- www/changes.wiki | ||
| +++ www/changes.wiki | ||
| @@ -33,10 +33,11 @@ | ||
| 33 | 33 | checked into the repository. |
| 34 | 34 | * Update the built-in SQLite to version 3.8.10.1. |
| 35 | 35 | * Make [/help?cmd=open|fossil open] honor ".fossil-settings/allow-symlinks". |
| 36 | 36 | * Allow [/help?cmd=add|fossil add] to be used on symlinks to nonexistent or |
| 37 | 37 | unreadable files in the same way as [/help?cmd=addremove|fossil addremove]. |
| 38 | + * Added fork warning to be issued if sync produced a fork | |
| 38 | 39 | * Have [/help/cmd=changes|fossil changes] and |
| 39 | 40 | [/help/cmd=status|fossil status] report when executable or symlink status |
| 40 | 41 | changes on otherwise unmodified files. |
| 41 | 42 | |
| 42 | 43 | <h2>Changes for Version 1.32 (2015-03-14)</h2> |
| 43 | 44 |
| --- www/changes.wiki | |
| +++ www/changes.wiki | |
| @@ -33,10 +33,11 @@ | |
| 33 | checked into the repository. |
| 34 | * Update the built-in SQLite to version 3.8.10.1. |
| 35 | * Make [/help?cmd=open|fossil open] honor ".fossil-settings/allow-symlinks". |
| 36 | * Allow [/help?cmd=add|fossil add] to be used on symlinks to nonexistent or |
| 37 | unreadable files in the same way as [/help?cmd=addremove|fossil addremove]. |
| 38 | * Have [/help/cmd=changes|fossil changes] and |
| 39 | [/help/cmd=status|fossil status] report when executable or symlink status |
| 40 | changes on otherwise unmodified files. |
| 41 | |
| 42 | <h2>Changes for Version 1.32 (2015-03-14)</h2> |
| 43 |
| --- www/changes.wiki | |
| +++ www/changes.wiki | |
| @@ -33,10 +33,11 @@ | |
| 33 | checked into the repository. |
| 34 | * Update the built-in SQLite to version 3.8.10.1. |
| 35 | * Make [/help?cmd=open|fossil open] honor ".fossil-settings/allow-symlinks". |
| 36 | * Allow [/help?cmd=add|fossil add] to be used on symlinks to nonexistent or |
| 37 | unreadable files in the same way as [/help?cmd=addremove|fossil addremove]. |
| 38 | * Added fork warning to be issued if sync produced a fork |
| 39 | * Have [/help/cmd=changes|fossil changes] and |
| 40 | [/help/cmd=status|fossil status] report when executable or symlink status |
| 41 | changes on otherwise unmodified files. |
| 42 | |
| 43 | <h2>Changes for Version 1.32 (2015-03-14)</h2> |
| 44 |