summaryrefslogtreecommitdiffstats
path: root/test/unit/repository_mercurial_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-011-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@22014 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r21792 from trunk to 5.0-stable (#36258).Go MAEDA2022-09-011-3/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21794 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-021-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of test/unit/repository_mercurial_test.rbToshi MARUYAMA2020-12-021-20/+27
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20536 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add space after comma to RepositoryMercurialTestToshi MARUYAMA2020-07-211-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19933 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: add double quote branch and tag name to test repository (#27790)Toshi MARUYAMA2020-05-081-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19766 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: update test repository (#23055)Toshi MARUYAMA2020-03-221-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19607 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2020 (#33069).Go MAEDA2020-03-031-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Style/RedundantInterpolation in ↵Toshi MARUYAMA2019-11-081-3/+3
| | | | | | test/unit/repository_mercurial_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18959 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year.Go MAEDA2019-05-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support frozen_string_literal in test/**/*.rb (#26561).Go MAEDA2019-03-211-1/+1
| | | | | | | Contributed by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17996 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Decode hexadecimal-encoded literals in order to be frozen string literals ↵Go MAEDA2019-03-191-9/+5
| | | | | | | | | friendly (#31004). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17991 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-151-0/+2
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set User.current to nil before unit tests.Jean-Philippe Lang2018-12-161-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17761 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaced "can't" with "cannot" in error messages.Jean-Philippe Lang2014-12-211-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13781 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-4.1 branch (#14534).Jean-Philippe Lang2014-10-221-17/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: add one "closed" branch to test repository (#16177)Toshi MARUYAMA2014-02-261-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12929 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: insert long id to DB unless existing id in DB is not short ↵Toshi MARUYAMA2014-02-021-1/+113
| | | | | | id (#14361) git-svn-id: http://svn.redmine.org/redmine/trunk@12777 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: add asserting first and last changeset to ↵Toshi MARUYAMA2014-02-021-0/+4
| | | | | | test_fetch_changesets_from_scratch (#14361) git-svn-id: http://svn.redmine.org/redmine/trunk@12776 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: use scmid_for_assert in assert_parents (#14361)Toshi MARUYAMA2014-02-021-6/+11
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12775 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: use scmid_for_assert in assert_entries (#14361)Toshi MARUYAMA2014-02-021-6/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12774 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: use scmid_for_assert in assert_entry (#14361)Toshi MARUYAMA2014-02-021-4/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12773 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: use scmid_for_assert in assert_copied_files (#14361)Toshi MARUYAMA2014-02-021-5/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12772 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: add test helper method to switch short or long id (#14361)Toshi MARUYAMA2014-02-021-0/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12771 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: split test_parents to sub method (#14361)Toshi MARUYAMA2014-02-021-5/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12770 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: split test_copied_files to sub method (#14361)Toshi MARUYAMA2014-02-021-6/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12769 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: split test_entries_short_id to sub method (#14361)Toshi MARUYAMA2014-02-021-5/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12768 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: split test_entry_short_id to sub method (#14361)Toshi MARUYAMA2014-02-021-1/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12767 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: split latest_changesets tag test to sub method (#14361)Toshi MARUYAMA2014-02-021-3/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12766 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: split latest_changesets default branch test to sub method ↵Toshi MARUYAMA2014-02-021-2/+7
| | | | | | (#14361) git-svn-id: http://svn.redmine.org/redmine/trunk@12765 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: split latest_changesets tag test with path or not (#14361)Toshi MARUYAMA2014-02-021-0/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12764 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: add latest_changesets "default" branch test (#14361)Toshi MARUYAMA2014-02-021-0/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12763 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: split latest_changesets tag test with limit or not (#14361)Toshi MARUYAMA2014-02-021-3/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12762 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: add model entry test (#14361)Toshi MARUYAMA2014-02-021-0/+38
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12758 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: add model entries test (#14361)Toshi MARUYAMA2014-02-021-1/+19
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12757 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: add check scmid to ↵Toshi MARUYAMA2014-02-011-1/+3
| | | | | | RepositoryMercurialTest#test_fetch_changesets_from_scratch (#14361) git-svn-id: http://svn.redmine.org/redmine/trunk@12750 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: use 12 chars id for format_changeset_identifier (#14361)Toshi MARUYAMA2014-02-011-0/+11
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12749 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: split latest_changesets test to tag and branchToshi MARUYAMA2014-02-011-2/+14
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12748 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove redundant empty line from RepositoryMercurialTestToshi MARUYAMA2014-02-011-1/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12747 e93f8b46-1217-0410-a6f0-8f06a7374b81
* update copyright year (#15977)Toshi MARUYAMA2014-01-291-1/+1
| | | | | | Contributed by Daniel Felix. git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove unneeded Relation#all from RepositoryMercurialTestToshi MARUYAMA2014-01-091-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12576 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: scm: reload repository after destroying changesets in incremental ↵Toshi MARUYAMA2013-12-291-0/+1
| | | | | | fetch test git-svn-id: http://svn.redmine.org/redmine/trunk@12472 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright for 2013 (#12788).Jean-Philippe Lang2013-01-121-1/+1
| | | | | | Patch by Daniel Felix. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces find(:all) calls.Jean-Philippe Lang2012-12-021-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10917 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that Repository#entries returns an Array.Jean-Philippe Lang2012-06-101-0/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9804 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Renamed #changes association to #filechanges (clash with AR::Base.changes ↵Jean-Philippe Lang2012-06-031-4/+4
| | | | | | that triggers errors with Rails 3.2.5). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9759 e93f8b46-1217-0410-a6f0-8f06a7374b81