svn diff acting wrong after merge
From: Vladimir Prus <ghost_at_cs.msu.su>
Date: 2003-01-17 10:40:54 CET
Using svn rev 4408, I get strange diff behaviour.
svn merge -r807:809 .
the "svn diff" produces really strange output.
svn diff -r809 > A.diff
contains:
Index: asm_estimate/Jamfile
How comes? I did request diff against 809! Luckily, this bug reproduces
#/bin/bash
cd /tmp
svnadmin create svn
cd wc
svn mkdir dir
echo "int main() {}" > dir/dir2/file.cpp
# Make a copy of WC
echo "int main() { return 0; }" > dir/dir2/file.cpp
touch dir/dir2/file2.cpp
# Use the copy of WC to blow away last commit
# Attempt to recover our changes
# Look what we've got
svn diff -r3
produces
Index: dir/dir2/file.cpp
- Volodya
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.