Scroll SVN-stored text file served by Apache -
i have 1.7.9 svn server exposed via apache. uses apache2-svn allows specify revision number part of url (for r65):
https://server:port/repo/file?p=65
i'd add parameter query string allows scrolling file or better - highlighting range in file. users can send links pointing "revision 65, lines 110-125".
any ideas? svn stores regular text files. browsers support scrolling arbitrary text file? or need transform file html document? ready use solution?
cheers, pawel
built-in apache's svn repository browsing feature simple , minimalistic. not allow specify particular string navigate to. available url syntax allows
viewing / downloading particular file:
https://svn.domain.com/svn/myproject/trunk/readme.txt
viewing / downloading particular file in revision 321:
https://svn.domain.com/svn/myproject/trunk/readme.txt?r=321
viewing / downloading particular file, not available in youngest revision, specifying peg revision:
https://svn.domain.com/svn/myproject/trunk/file_id.diz?p=123
combining both of above methods can tune view.
if want more browsing features, install 3-rd party repository browsing ui. take closer @ viewvc, websvn , sventon.
Comments
Post a Comment