Mercurial > hgsubversion
comparison tests/fixtures/pushrenames.sh @ 70:49b7cbe4c8e3
push_cmd: handle copies at file level
Mercurial store knows only file-level copies, directory copies are handle with
heuristics. Implement the former one in svn backends.
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Wed, 05 Nov 2008 13:37:08 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
69:63ece4ea25c9 | 70:49b7cbe4c8e3 |
---|---|
1 #!/bin/sh | |
2 # | |
3 # Generate pushrenames.svndump | |
4 # | |
5 | |
6 mkdir temp | |
7 cd temp | |
8 | |
9 mkdir project-orig | |
10 cd project-orig | |
11 mkdir trunk | |
12 mkdir branches | |
13 cd .. | |
14 | |
15 svnadmin create testrepo | |
16 svnurl=file://`pwd`/testrepo | |
17 svn import project-orig $svnurl -m "init project" | |
18 | |
19 svn co $svnurl project | |
20 cd project/trunk | |
21 echo a > a | |
22 echo b > b | |
23 echo c > c | |
24 echo d > d | |
25 echo e > e | |
26 svn add a b c d e | |
27 svn ci -m "add files" | |
28 cd ../.. | |
29 | |
30 svnadmin dump testrepo > ../pushrenames.svndump |