> On Tue, Jun 19, 2007 at 09:21:56AM +0200, David Purdy wrote:
> > > On Mon, May 28, 2007 at 04:43:04PM +0200, David Purdy wrote:
> > > > git-svn fetch --follow-parent does not work correctly for cases where a
> > > > parent of the directory you're tracking is moved.
> > >
> > > Hi David, can you please check with git-svn version 1.5.2.1 whether this
> > > problem still exists?  A lot of work has been done on git-svn since
> > > 1.4.4.4.
> >

Replying late because this mail was caught by my spam filters.

Sadly I'm still having this error. My current versions:

git-core: 1:1.5.4.1-1 
git-svn: 1:1.5.4.1-1

I ran 'apt-get dist-upgrade' today (against Debian/Testing) so all my other
packages should be recent versions.

Here are some steps you can follow to reproduce my problem:

# Create SVN history

mkdir /tmp/test
svnadmin create /tmp/test/svn_repo
mkdir /tmp/test/svn_checkout
cd /tmp/test/svn_checkout
svn co file:///tmp/test/svn_repo
cd svn_repo
touch 1 2 3
svn add 1 2 3
svn ci -m "New files"
ls > 1; ls > 2; ls > 3
svn ci -m 'Some random update'
mkdir trunk
svn add trunk
svn mv 1 trunk/
svn mv 2 trunk/
svn mv 3 trunk/
svn ci -m 'Moved files to trunk'
cd trunk/
ls -l > 1; ls -l > 2; ls -l > 3
svn ci -m 'Another random update'

# Create git-svn checkout

mkdir /tmp/test/svn-git_repo
cd /tmp/test/svn-git_repo
git-svn init file:///tmp/test/svn_repo/trunk
git-svn fetch

# Check the git log:

git log

In my case I only see the last 2 git revisions (the latest 2, "Another random
update" and "Moved files to trunk"), rather than the 4 which exist in the SVN
repo.

I hope this info helps.

David.





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to