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






|







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