Overview
SHA1 Hash: | ab6a293182e1962592fcecb9914c8bcedc889b6c |
---|---|
Date: | 2009-04-19 06:14:53 |
User: | bch |
Comment: | fix for ticket |
Timelines: | ancestors | descendants | both | fix artifact checkout |
Other Links: | files | ZIP archive | manifest |
Tags And Properties
- bgcolor=#ffaa22 inherited from [4fff366109]
- branch=fix artifact checkout inherited from [4fff366109]
- sym-fix artifact checkout inherited from [4fff366109]
Changes
[hide diffs]Modified src/checkout.c from [bf8e9beb01] to [0c75447b9b].
@@ -187,11 +187,11 @@ noWrite = find_option("dontwrite",0,0)!=0; if( g.argc!=3 ) usage("?--force? VERSION"); if( !forceFlag && unsaved_changes()==1 ){ fossil_fatal("there are unsaved changes in the current checkout"); } - if(!checkoutable()){ + if(!checkoutable(g.argv[2])){ fossil_fatal("the VERSION you requested is not a checkout-able artifact"); } if( forceFlag ){ db_multi_exec("DELETE FROM vfile"); prior = 0;