Re: Trouble excluding a tag using an options file

Michael Haggerty <[email protected]>
Newsgroups gmane.comp.version-control.subversion.cvs2svn.user
Message-ID <[email protected]>
On 09/20/2010 02:47 AM, Peter Shipway wrote:
> I am trying to exclude a tag using an options file, but I can't seem to
> get the correct syntax.
> 
> On pass 16 the cvs2svn outputs the following error:
>                 starting subversion r127 / 36451
>                 ERROR: Unable to convert a path 'tags/GMWin-dvi-issue-1813'
> 
> I've added the following entry to the options file but it still tries to
> convert this tag
>     ExcludeRegexpStrategyRule(r'GMWin-dvi-issue-1831*'),

Well, right off the bat I see two problems:

* The patterns needed for ExcludeRegexpStrategyRule() are *regexps* aka
regular expressions.  To match any string in a regexp, you need to use
".*", not "*".  So your pattern will match 'GMWin-dvi-issue-18311111111'
but not 'GMWin-dvi-issue-1831-foo-bar'.  This is not necessarily a
problem in this particular case but you might have made similar mistakes
elsewhere.

* You've transposed the last two digits: '13' vs '31'.

Michael

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

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.