RE: git-svn with ignore-paths misses/skips some revisions during fetch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Enrico asked:
> Could it be that certain files spent parts of their historical lifetime
> inside the ignored paths ?


        I left out one possibly important piece of information: My initial 'git svn fetch' used '-r' to "cauterize" the history, both because there is a lot of it (almost 12 years) and because the repository was reorganized significantly after a cvs -> svn migration.  The first revision I have is r83875:

$ git log --max-parents=0 --all --date-order | tail -n 1
    git-svn-id: svn://dev.carnegielearning.com/trunk@83875 752fcc94-cd22-0410-baa8-ef54ac2c6973


        So to answer Enrico's question: Prior to the initial revision that was fetched into git, these files did live in a different top-level directory.  However it's not one that's matched by the 'ignore-paths' regex.  Here's one example:

$ svn log -v svn://dev/branches/localization-merge/buildprocess/antfiles/dmg.xml | grep /dmg.xml | uniq -c
      9    M /branches/localization-merge/buildprocess/antfiles/dmg.xml
     35    M /trunk/buildprocess/antfiles/dmg.xml
      1    A /trunk/buildprocess/antfiles/dmg.xml (from /trunk/buildprocess/assemble-support/dmg.xml:48305)
      1    D /trunk/buildprocess/assemble-support/dmg.xml
     57    M /trunk/assemble-support/dmg.xml
      1    A /trunk/assemble-support/dmg.xml


Here are the svn revisions that explain the transition from 'assemble-support' to 'buildprocess/assemble-support', just after the cvs -> svn migration.

------------------------------------------------------------------------
r48303 | matt | 2006-11-27 14:56:10 -0500 (Mon, 27 Nov 2006) | 1 line
Changed paths:
   D /old-trunk/assemble-support
   A /trunk/buildprocess/assemble-support (from /old-trunk/assemble-support:48302)

moving old assemble-support into new buildprocess
------------------------------------------------------------------------
r48248 | matt | 2006-11-22 13:41:42 -0500 (Wed, 22 Nov 2006) | 1 line
Changed paths:
   A /old-trunk (from /trunk:48247)
   D /trunk

moving old trunk out of the way
------------------------------------------------------------------------



Matt McHenry
Software Developer
Carnegie Learning, Inc.
(888) 851-7094 x150 toll free
(412) 690-2444 fax
mmchenry@xxxxxxxxxxxxxxxxxxxx
www.carnegielearning.com

Decision 2012: Election Math | Engaging Video Content | FREE Interactive Math Problems
http://www.nbclearn.com/portal/site/learn/decision2012

��.n��������+%������w��{.n��������n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]