summaryrefslogtreecommitdiffstats
path: root/test/unit/repository_mercurial_test.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Copyright update.Jean-Philippe Lang2012-05-051-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9636 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: remove unnecessary log_encoding from overriding ↵Toshi MARUYAMA2012-02-241-3/+2
| | | | | | human_attribute_name test git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8966 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: add test to override human_attribute_name of "path to ↵Toshi MARUYAMA2012-02-241-0/+29
| | | | | | repository" git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8964 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: split unit model test setup whether repository required or notToshi MARUYAMA2012-02-241-19/+21
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8962 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: test: model: fix failing test_parents on PostgreSQL (#5501)Toshi MARUYAMA2011-11-031-4/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7719 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: test: model: add test of parents (#5501)Toshi MARUYAMA2011-11-031-0/+19
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7714 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: update test repository (#5501)Toshi MARUYAMA2011-10-281-9/+9
| | | | | | This test repository has one merged revision. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7662 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: use NUM_REV instead of hard-coded number of revisions at ↵Toshi MARUYAMA2011-10-251-1/+1
| | | | | | "test_fetch_changesets_incremental" of unit model test git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7652 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: skip failing unit model tests on below Mercurial 1.5 (#9465)Toshi MARUYAMA2011-10-241-2/+4
| | | | | | Tests of non ASCII nor alphabetic nor numeric *named branch* fails on below Mercurial 1.5. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7643 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: scm: mercurial: fix error of test_copied_files at unit model testToshi MARUYAMA2011-09-121-1/+3
| | | | | | | On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises. For more details, see r7062. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7117 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: scm: mercurial: fix error of test_latest_changesets at unit model testToshi MARUYAMA2011-09-121-1/+3
| | | | | | | On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises. For more details, see r7062. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7116 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: scm: mercurial: fix error of test_changeset_order_by_revision at ↵Toshi MARUYAMA2011-09-121-1/+3
| | | | | | | | | unit model test On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises. For more details, see r7062. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7115 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: scm: mercurial: fix error of test_format_identifier at unit model testToshi MARUYAMA2011-09-111-1/+3
| | | | | | | On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises. For more details, see r7062. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7114 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: scm: mercurial: fix error of test_identifier at unit model testToshi MARUYAMA2011-09-111-1/+3
| | | | | | | On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises. For more details, see r7062. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7113 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: scm: mercurial: fix error of test_find_changeset_by_invalid_name at ↵Toshi MARUYAMA2011-09-111-1/+3
| | | | | | | | | unit model test On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises. For more details, see r7062. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7112 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: scm: mercurial: fix error of test_find_changeset_by_name at unit ↵Toshi MARUYAMA2011-09-111-1/+3
| | | | | | | | | model test On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises. For more details, see r7062. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7111 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: scm: mercurial: fix error of test_next_nil at unit model testToshi MARUYAMA2011-09-111-1/+3
| | | | | | | On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises. For more details, see r7062. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7106 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: scm: mercurial: fix error of test_next at unit model testToshi MARUYAMA2011-09-111-1/+3
| | | | | | | On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises. For more details, see r7062. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7105 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: scm: mercurial: fix error of test_previous_nil at unit model testToshi MARUYAMA2011-09-111-1/+3
| | | | | | | On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises. For more details, see r7062. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7104 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: scm: mercurial: fix error of test_previous at unit model testToshi MARUYAMA2011-09-111-1/+3
| | | | | | | On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises. For more details, see r7062. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7103 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: scm: mercurial: fix error of test_find_changeset_by_empty_name at ↵Toshi MARUYAMA2011-09-111-1/+3
| | | | | | | | | unit model test On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises. For more details, see r7062. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7102 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: mercurial: git: fix error of test_isodatesec at unit model testToshi MARUYAMA2011-09-111-1/+3
| | | | | | | On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises. For more details, see r7062. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7101 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: mercurial: git: fix error of test_fetch_changesets_incremental at ↵Toshi MARUYAMA2011-09-111-1/+5
| | | | | | | | | unit model test On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises. For more details, see r7062. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7100 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: mercurial: git: fix error of test_fetch_changesets_from_scratch at ↵Toshi MARUYAMA2011-09-111-2/+3
| | | | | | | | | unit model test On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises. For more details, see r7062. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7099 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: define NUM_REV as the number of test repository revisions at ↵Toshi MARUYAMA2011-09-111-0/+1
| | | | | | unit model test git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7098 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: replace RAILS_ROOT to Rails.root in unit model test.Toshi MARUYAMA2011-06-101-5/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6051 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: remove trailing white-spaces from unit model test.Toshi MARUYAMA2011-05-081-5/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5704 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: fix unit model test fails if hg command is unavailable.Toshi MARUYAMA2011-05-051-22/+23
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5649 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: add test of copied file from_revision node id at unit model ↵Toshi MARUYAMA2011-04-171-0/+3
| | | | | | test. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5481 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: add scm command tests at unit model test (#4273).Toshi MARUYAMA2011-04-081-0/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5363 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: add test of latest changesets support named branch in unit ↵Toshi MARUYAMA2011-03-141-0/+7
| | | | | | model test (#7246). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5128 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: add latest changesets supporting tag test in unit model test ↵Toshi MARUYAMA2011-03-141-0/+13
| | | | | | (#1981). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5126 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: add latest changesets improvement test in unit model test.Toshi MARUYAMA2011-03-141-0/+18
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5125 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: prepare tests of named branch and tag in unit model test ↵Toshi MARUYAMA2011-03-141-0/+6
| | | | | | (#1981, #7246). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5117 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: code clean up unit model test.Toshi MARUYAMA2011-03-141-2/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5116 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: remove duplicates tests in unit model test.Toshi MARUYAMA2011-03-111-7/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5090 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: fix unit model test fails on MySQL and remove duplicates tests.Toshi MARUYAMA2011-03-111-31/+16
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5089 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: add latin-1 encoding directory to test repository (#2664).Toshi MARUYAMA2011-03-081-9/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5059 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: add changesets order test in unit model test (#5357).Toshi MARUYAMA2011-03-041-0/+40
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5002 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: additional unit model tests for path encoding (#2664).Toshi MARUYAMA2011-03-041-0/+13
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4999 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: update test repository for path contains space (#2664, #4455).Toshi MARUYAMA2011-03-041-4/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4997 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: update test repository for path encoding (#2664).Toshi MARUYAMA2011-03-041-5/+9
| | | | | | | | | | | | | | | | | | | Mercurial (and also Git) treats file names as byte string. This mercurial test repository contains Latin-1 encoding path. Be careful on non Latin-1(CP1252) Windows. If your Windows is not Latin-1 Windows, in order to checkout(update) Latin-1 path, You need to use cygwin 1.7 and set LANG=en_US.ISO-8859-1. Please refer. http://mercurial.selenic.com/wiki/EncodingStrategy?action=recall&rev=6 Redmine mercurial adapter do not need to checkout(update) repository. Mercurial does not have "bare" repository such as Git. You can use "hg update null" for equivalent "bare" repository. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4996 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: code clean up unit model test.Toshi MARUYAMA2011-03-031-3/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4991 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: change project id of unit app test from 1 to 3.Toshi MARUYAMA2011-02-271-1/+1
| | | | | | Project id 1 has Subversion fixtures. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4957 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: unit app test for latest_changesets SQL "like" special ↵Toshi MARUYAMA2011-02-181-0/+16
| | | | | | character '%' and '_'. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4870 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: unit app test for latest_changeset.Toshi MARUYAMA2011-02-181-0/+21
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4869 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: move entries unit test from app to lib.Toshi MARUYAMA2011-02-181-13/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4863 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: code clean up unit app test.Toshi MARUYAMA2011-02-161-3/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4852 e93f8b46-1217-0410-a6f0-8f06a7374b81