Re: [WIP/PATCH] Teach fast-import to print the id of each imported commit

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

 



Hi,

Jonathan Nieder writes:
> For the svn importer, it would be useful to have a map from
> subversion revision numbers to git commits.  This is particularly
> relevant because the subversion api sometimes represents as "copy
> this directory from this revision", and the importer needs to be
> able to access the corresponding trees.  So (optionally) print
> each commit id when the corresponding object is written.
> 
> Unfortunately when each commit object is written, it is not yet
> accessible to the caller.  The corresponding pack index
> and header are not written until the next checkpoint finishes.
> 
> Should fast-import accept lines of the form
> 
>  M 100644 <commit id>:<path> <path>
> 
> and
> 
>  M 040000 <commit id>:<path> <path>
> 
> to allow the caller to use commits before they are accessible
> through the git object database?
> 
> Signed-off-by: Jonathan Nieder <jrnieder@xxxxxxxxx>
> but definitely not ready for inclusion

I'm resurrecting this thread. We need to finish this feature before we
can finish the dumpfilev3 support in svn-dump-fast-export.

-- Ram
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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]