Overview
SHA1 Hash: | 746a0b8588547d256f913d412eed6325ae55cb90 |
---|---|
Date: | 2007-09-23 23:05:42 |
User: | jnc |
Comment: | One more minor change to the fix of ff4c, set the current checkout to 1 if this is a brand new file. |
Timelines: | ancestors | descendants | both | trunk |
Other Links: | files | ZIP archive | manifest |
Tags And Properties
- branch=trunk inherited from [a28c83647d]
- sym-trunk inherited from [a28c83647d]
Changes
[hide diffs]Modified src/db.c from [6ce289dbfa] to [6fa9884a72].
@@ -888,11 +888,13 @@ db_open_local(); db_lset("repository", blob_str(&path)); vid = db_int(0, "SELECT pid FROM plink y" " WHERE NOT EXISTS(SELECT 1 FROM plink x WHERE x.cid=y.pid)"); db_lset_int("checkout", vid); - if( vid!=0 ){ + if( vid==0 ){ + db_lset_int("checkout", 1); + }else{ g.argv = azNewArgv; g.argc = 3; update_cmd(); } }