Re: cvs2git: One possible bug, and two other issues

Michael Haggerty <[email protected]> Mon, 24 Jan 2011 04:43:17 +0100
Newsgroups gmane.comp.version-control.subversion.cvs2svn.devel
Message-ID <[email protected]>
On 01/24/2011 12:17 AM, Anders Pilegaard wrote:
> Actually, it's not the commits themselves that bother me - it's the
> fact that I have to look at them ... :-) ... A good way of making them
> invisible would serve my purpose just as well.
> 
> Right now my best idea is to use the filters to eg. 'git log' to
> exclude these commits.  If I change the author of manufactured commits
> to something that is easy to exclude with a regexp, I can use the
> '--author' filter to avoid them.  Right now I'm using
> '--author="^[^c]"' - but that also excludes other authors that start
> with 'c', so I need to select a better first char ... :-)

If this is in a script (so you don't have to type it all the time, maybe
you could use something like

'--author="^([^c]|c[^v]|cv[^s]|cvs[^2])"'

(if git's regexp matching is capable enough).

Michael

-- 
Michael Haggerty
[email protected]
http://softwareswirl.blogspot.com/

------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1667&dsMessageId=2700018

To unsubscribe from this discussion, e-mail: [[email protected]].