Permalink
Commits on Feb 16, 2011
  1. scm: mercurial: fix Ruby 1.9 "hg diff" test fails (#7518).

    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4859 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 16, 2011
  2. scm: in repository tree, use find_changeset_by_name instead of change…

    …sets.find_by_revision (#3724, #3421).
    
    Mercurial revision numbers are far too brittle.
    Please see #6681 description.
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4858 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 16, 2011
  3. scm: mercurial: add identifier to entry.lastrev (#3724, #3421).

    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4857 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 16, 2011
  4. scm: mercurial: rewrite MercurialAdapter#entries to show per-file cha…

    …nge log and size (#3421, #4455).
    
    Contributed by Yuya Nishihara.
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4856 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 16, 2011
  5. scm: mercurial: set instance value flag of whether "hg diff -c" suppo…

    …rts true at tests (#7518).
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4855 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 16, 2011
  6. scm: mercurial: rewrite MercurialAdapter#diff by using helper extensi…

    …on (#4455, #7518).
    
    fix incompatibility of diff with Mercurial < 1.1.
    
    Contributed by Yuya Nishihara.
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4854 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 16, 2011
  7. scm: mercurial: add instance value flag of whether "hg diff -c" suppo…

    …rts at tests (#7518).
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4853 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 16, 2011
  8. scm: mercurial: code clean up unit app test.

    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4852 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 16, 2011
  9. scm: git: implement find_changeset_by_name (#7047).

    SQL "like" is slow.
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4851 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 16, 2011
  10. scm: git: change project id of unit app test from 1 to 3.

    Project id 1 has Subversion fixtures.
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4850 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 16, 2011
  11. scm: mercurial: refactor Repository::Mercurial#fetch_changesets (#4455).

    Contributed by Yuya Nishihara.
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4849 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 16, 2011
  12. scm: mercurial: rewrite MercurialAdapter#revisions as an iterator (#4…

    …455).
    
    Now it uses XmlMini.parse() in place of slow REXML.
    
    Contributed by Yuya Nishihara.
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4848 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 16, 2011
  13. scm: mercurial: change identifier to revision in fetching revisions.

    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4847 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 16, 2011
  14. scm: mercurial: rewrite MercurialAdapter#info by using helper extenti…

    …on (#4455).
    
    Contributed by Yuya Nishihara.
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4846 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 16, 2011
  15. scm: mercurial: add "summary" method in adapter (#4455).

    Contributed by Yuya Nishihara.
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4845 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 16, 2011
  16. scm: mercurial: switch root_url or url in "hg" method (#4455).

    "info" sets root_url from url.
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4844 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 16, 2011
  17. scm: mercurial: add compatible test for "revisions" method.

    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4843 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 16, 2011
  18. scm: mercurial: refactor "cat" by using hg helper method (#4455).

    Contributed by Yuya Nishihara.
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4842 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 16, 2011
  19. scm: mercurial: refactor "annotate" by using hg helper method (#4455).

    Contributed by Yuya Nishihara.
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4841 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 16, 2011
  20. scm: mercurial: add "hgtarget" method (#4455).

    Abstract adapter shell quotes paths.
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4840 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 16, 2011
  21. scm: mercurial: change "--cwd" option to "-R" for running "hg" (#4455).

    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4839 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 16, 2011
  22. scm: mercurial: add compatible test for "info" method.

    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4838 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 16, 2011
Commits on Feb 15, 2011
  1. scm: mercurial: ignore redminehelper.pyc and redminehelper.pyo for Su…

    …bversion (#4455).
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4837 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 15, 2011
  2. scm: bazaar: move cat and annotate test from unit app test to unit li…

    …b test.
    
    Bazaar supports revision number and do not need to read database.
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4836 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 15, 2011
  3. scm: cvs: set client available if cvs version above 1.12.

    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4835 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 15, 2011
  4. scm: mercurial: ignore redminehelper.pyc and redminehelper.pyo for Gi…

    …t and Mercurial (#4455).
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4834 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 15, 2011
  5. scm: mercurial: add Mercurial helper extension (#4455).

    * 'rhsummary' and 'rhmanifest' for reducing the number of hg command calls.
    * 'rhdiff' for compatibility with Mercurial < 1.1.
    
    Also renamed TEMPLATES_DIR to HELPERS_DIR because the directory now contains
    templates and a helper extension.
    
    Original version was written by Alessio Franceschelli,
    downloaded from http://www.redmine.org/attachments/3395/overhaul.py
    
    Contributed by Alessio Franceschelli and Yuya Nishihara.
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4833 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 15, 2011
  6. scm: cvs: add methods of getting cvs version and add unit lib test (#…

    …4273).
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4832 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 15, 2011
  7. scm: bazaar: add methods of getting bazaar version and add unit lib t…

    …est (#4273).
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4831 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 15, 2011
  8. scm: mercurial: add new method 'hg' to wrap shellout (#4455).

    Contributed by Yuya Nishihara.
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4830 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 15, 2011
  9. scm: git: add methods of getting git version and add unit lib test (#…

    …4273).
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4829 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 15, 2011
  10. scm: mercurial: switch shell quote revision with argument.

    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4828 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 15, 2011
  11. scm: subversion: change newlines LF to CRLF at lib/redmine/scm/adapte…

    …rs/subversion_adapter.rb.
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4827 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 15, 2011
  12. scm: subversion: change unit app test project id from 1 to 3.

    Fixtures have project id 1 subversion changesets and changes.
    
    Change file:/// to file://.
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4826 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 15, 2011
  13. scm: subversion: refactor getting svn version and add lib test (#4273).

    git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4825 e93f8b46-1217-0410-a6f0-8f06a7374b81
    marutosi committed Feb 15, 2011