]> asedeno.scripts.mit.edu Git - git.git/commitdiff
git-svn: remove assertion that broke with older versions of svn
authorEric Wong <normalperson@yhbt.net>
Tue, 30 May 2006 02:03:46 +0000 (19:03 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 30 May 2006 06:14:50 +0000 (23:14 -0700)
svn < 1.3.x would display changes to keywords lines as modified
if they aren't expanded in the working copy.  We already check
for changes against the git tree here, so checking against the
svn one is probably excessive.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
contrib/git-svn/git-svn.perl

index b3e0684c449cf3f3c0c3b23460c39a13d74ada34..aac877974d3413f810208d4592ecce8fffbfada6 100755 (executable)
@@ -567,7 +567,6 @@ sub precommit_check {
 sub svn_checkout_tree {
        my ($svn_rev, $treeish) = @_;
        my $from = file_to_s("$REV_DIR/$svn_rev");
-       assert_svn_wc_clean($svn_rev);
        assert_tree($from);
        print "diff-tree $from $treeish\n";
        my $pid = open my $diff_fh, '-|';