Re: Feature request: "Surrogate" repository root for $Header$ and $Source$ keyword expansion?
Michael Haggerty <[email protected]>
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.user |
|---|---|
| Message-ID | <[email protected]> |
On 01/26/2012 10:26 PM, Maciek Sakrejda wrote: > [...] > E.g., is it reasonable to change > > def source(self): > project = self.cvs_rev.cvs_file.project > return '%s/%s%s,v' % ( > project.cvs_repository_root, > project.cvs_module, > self.cvs_rev.cvs_file.cvs_path, > ) > > in keyword_expander.py to something like > > def source(self): > project = self.cvs_rev.cvs_file.project > return '%s/%s%s,v' % ( > project.cvs_surrogate_root or project.cvs_repository_root, > project.cvs_module, > self.cvs_rev.cvs_file.cvs_path, > ) > > (of course, with the additional config to set > project.cvs_surrogate_root)? I could try to contribute a patch if this > would be generally useful I think it is a fine idea. Michael -- Michael Haggerty [email protected] http://softwareswirl.blogspot.com/ ------------------------------------------------------ http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=2911506 To unsubscribe from this discussion, e-mail: [[email protected]].