Changes On Branch allow-backslash-in-card-filename
Not logged in

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

Changes In Branch allow-backslash-in-card-filename Excluding Merge-Ins

This is equivalent to a diff from 1a5ac30583 to 013854ae76

2013-01-26
17:56
don't let fossil choke any more (syntax error) when a card contains a backslash in a filename. This doesn't mean that a backslash is now allowed in a filename, only that fossil can handle the card, and show what's wrong. check-in: b178bcb897 user: jan.nijtmans tags: trunk
16:27
merge trunk Closed-Leaf check-in: 013854ae76 user: jan.nijtmans tags: allow-backslash-in-card-filename
08:26
Fix revert tests 5 and 6 so they aren't carbon copies. Minor comment cleanup check-in: 1a5ac30583 user: joel tags: trunk
2013-01-25
23:49
Fix 'fossil revert' to fully revert renames check-in: eef34741a9 user: joel tags: trunk
2013-01-15
10:25
formatting check-in: 9d657c3be5 user: jan.nijtmans tags: allow-backslash-in-card-filename

Changes to src/file.c.

   545    545             return 0;
   546    546           }
   547    547           if( (z[++i]&0xc0)!=0x80 ){
   548    548             /* Invalid second continuation byte */
   549    549             return 0;
   550    550           }
   551    551         }
   552         -    }else if( c=='\\' ){
          552  +    }else if( bStrictUtf8 && (c=='\\') ){
   553    553         return 0;
   554    554       }
   555    555       if( c=='/' ){
   556    556         if( z[i+1]=='/' ) return 0;
   557    557         if( z[i+1]=='.' ){
   558    558           if( z[i+2]=='/' || z[i+2]==0 ) return 0;
   559    559           if( z[i+2]=='.' && (z[i+3]=='/' || z[i+3]==0) ) return 0;