Re: [PATCH 2/2] Add 'git svn reset' to unwind 'git svn fetch'

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

 



On Sat, May 30, 2009 at 06:17:07PM -0700, Ben Jackson wrote:
> Add a command to unwind the effects of fetch by moving the rev_map
> and refs/remotes/git-svn back to an old SVN revision.

I just realized this morning that I didn't do any special handling for
bad revision input.  I will submit a revised patch.  In the mean time
I would still like feedback on the concept and the docs.

Known issues:

1.  Garbage revision input is accepted and prints several internal errors
before bombing out.  The repo is not harmed, though.

2.  Huge revision numbers cause git-svn to spin for quite a while because
I used the pre-existing find_rev_before which is a linear search.

3.  Without --parent it should probably fail for a nonexistent rev rather
than automatically find_rev_before..

-- 
Ben Jackson AD7GD
<ben@xxxxxxx>
http://www.ben.com/
--
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]