Re: get a list of CVS users

olli hauer <[email protected]>
Newsgroups gmane.comp.version-control.subversion.cvs2svn.user
Message-ID <[email protected]>
On 2010-08-18 09:16, CV Software wrote:
> Hi Michael,
> 
> Thank you for your answer.
> 
> Are you aware of any other way of getting the list of all CVS users?
> 
> Cedric
> 

I got all my users this way

egrep -ahR '^date.*author' $CVSRepo | awk '/state Exp/ {print $4}'


Maybe the next hint can slip into the cvs2svn docs.

If you have many repos to convert and additional want to transform
the authors it is handy to define the mapping in a dedicated file.


file: option_CVSRepo_abc
==============================
author_transform_from_file=eval(open("author_transforms").read())

ctx.output_option = NewRepositoryOutputOption(
    r'/path/to/new/svn/repo',
    fs_type='fsfs',
#    author_transforms=author_transforms,
    author_transforms=author_transform_from_file,
    )

file: author_transforms
==============================
{
 'a1' : 'author1',
 'a2' : 'author2',
...
}

--
olli

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

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.