Mercurial > hgsubversion
view tests/fixtures/emptyrepo.sh @ 861:6fc7f74f0cf6
stupid: force non-incremental mode for unrelated branches creation
Apparently, svn < 1.7 was already taking this path since it could not diff
unrelated branches. svn >= 1.7 learnt to do that but supporting it in the
regular stupid mode needs some work. Be lazy for now.
author | Patrick Mezard <patrick@mezard.eu> |
---|---|
date | Thu, 19 Apr 2012 15:08:07 +0200 |
parents | 6c9b7cf1c5aa |
children |
line wrap: on
line source
#!/bin/sh # # Generate renames.svndump # mkdir temp cd temp mkdir project-orig cd project-orig mkdir trunk mkdir branches cd .. svnadmin create testrepo svnurl=file://`pwd`/testrepo svn import project-orig $svnurl -m "init project" svn co $svnurl project cd project/trunk # Create and remove a file, hgsubversion does not like # empty repositories echo a > a svn add a svn ci -m "add a" svn rm a svn ci -m "remove a" cd ../.. svnadmin dump testrepo > ../emptyrepo.svndump