masamitsu-murase / redmine_add_subversion_links

Add links to open TortoiseSVN automatically.
11 stars 4 forks source link

A suggestion #1

Closed jwalkerbg closed 12 years ago

jwalkerbg commented 12 years ago

Hi,

I tested the plugin and want to make a suggestion.

Now, the repository links point to the root of the repositories. It would be better if they point to the correspondent peg revision.

Par example: http://path_to_real_repository/path_in_the_repository/ to become http://path_to_real_repository/path_in_the_repository/?p=rev

masamitsu-murase commented 12 years ago

Hi,

Thank you for your suggestion.

I think your suggestion is very nice idea. I implemented sample code and you can download it from Downloads as "Beta of version 0.0.2".

In version 0.0.1, I focused on collaboration with my "Open TortoiseSVN" addon. As soon as possible, I would like to release this modification as a new version 0.0.2, but current "Open TortoiseSVN" addon does not work well because of the addon's restriction. It does not work well if the targeted URL includes parameters, such as "?p=123&r=120". :-<

I will fix addon's bug and then release this modification as a new version. If you need, please use "Beta of version 0.0.2" in Downloads until the next release. I'm sorry for inconvenience.

If you find any bugs, please let me know.

Thanks, Murase

jwalkerbg commented 12 years ago

Hi,

I tested this update. It works. Another addition could be when displaying revisions of child directories and files. One assumes that the SVN links point to correspondent sub-part of the repository. It is even more useful with files than directories. Two revisions of a file could be seen in seconds.

masamitsu-murase commented 12 years ago

Hi,

Thank you for your confirmation.

I agree with your advice. To tell the truth, I tried in version 0.0.1, but it was not easy for me to add links when displaying revisions of child files because of the current Redmine source code structure. I will try it again in the future version.

Thanks, Murase

masamitsu-murase commented 12 years ago

I have just released version 0.0.4, which supports "peg revision". This version also adds Subversion links to the repository pages in Redmine.

Thank you for your nice suggestion!