Mercurial > hgsubversion
view tests/fixtures/pushrenames.sh @ 1235:6b15eeb78c1a
editor: fix replay handling for copied + modified symlinks
We strip the 'link ' prefix from symlinks when we store it in
Mercurial. We reapply it when we start editing the file via
open_file, but not via add_file. this means that modified symlniks
would replay correctly, but not copied and modified symlinks. This
corrects that ommission.
author | David Schleimer <dschleimer@fb.com> |
---|---|
date | Mon, 07 Apr 2014 18:44:46 -0700 |
parents | 49b7cbe4c8e3 |
children |
line wrap: on
line source
#!/bin/sh # # Generate pushrenames.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 echo a > a echo b > b echo c > c echo d > d echo e > e svn add a b c d e svn ci -m "add files" cd ../.. svnadmin dump testrepo > ../pushrenames.svndump