Commit Graph

258 Commits

Author SHA1 Message Date
Go MAEDA
919c9cfdd0 Support for Git repositories with default branch "main" (#34942).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20851 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-26 03:48:32 +00:00
Go MAEDA
3e36b5c452 Update copyright year in source files to 2021 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-25 06:58:56 +00:00
Toshi MARUYAMA
c334fe23b1 add 'freeze' to avoid immutable array literals in loops at MercurialAdapterTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20642 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-12 15:49:59 +00:00
Toshi MARUYAMA
1a2fcf1de4 fix source indent of GitAdapterTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20540 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-02 13:31:31 +00:00
Toshi MARUYAMA
fd3b7dd4ca fix source indent of MercurialAdapterTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20538 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-02 13:31:15 +00:00
Toshi MARUYAMA
3ff17c2b0d fix source indent of test/unit/lib/redmine/scm/adapters/cvs_adapter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20457 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-21 13:51:51 +00:00
Toshi MARUYAMA
c7bfcd77dc shorten long line of test/unit/lib/redmine/scm/adapters/cvs_adapter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20456 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-21 13:51:42 +00:00
Go MAEDA
78dfef0978 Replace gsub with tr, delete, or squeeze (#34161).
git-svn-id: http://svn.redmine.org/redmine/trunk@20176 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-24 06:46:50 +00:00
Toshi MARUYAMA
ee7fe71693 add space after comma to FilesystemAdapterTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20127 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-05 15:47:58 +00:00
Toshi MARUYAMA
8abbf9ac2f fix source indent of MercurialAdapterTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20072 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-09-24 16:06:40 +00:00
Toshi MARUYAMA
77fceb7585 add space after comma to MercurialAdapterTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20042 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-09-17 15:48:33 +00:00
Toshi MARUYAMA
858f323da1 fix source indent of MercurialAdapterTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20041 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-09-17 15:48:25 +00:00
Toshi MARUYAMA
4eacd4ad4a fix source indent of BazaarAdapterTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20020 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-09-12 12:57:34 +00:00
Toshi MARUYAMA
764913632f fix source indent of GitAdapterTest
git-svn-id: http://svn.redmine.org/redmine/trunk@19966 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-08-09 15:56:55 +00:00
Toshi MARUYAMA
6ab769cae7 fix source indent of GitAdapterTest
git-svn-id: http://svn.redmine.org/redmine/trunk@19957 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-08-07 12:43:56 +00:00
Toshi MARUYAMA
e0d81a8726 add space after comma to GitAdapterTest
git-svn-id: http://svn.redmine.org/redmine/trunk@19952 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-08-07 12:43:15 +00:00
Toshi MARUYAMA
44ae0d0393 remove spaces inside {} of GitAdapterTest
git-svn-id: http://svn.redmine.org/redmine/trunk@19946 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-08-07 12:42:26 +00:00
Toshi MARUYAMA
0734527a8d fix source indent of BazaarAdapterTest
git-svn-id: http://svn.redmine.org/redmine/trunk@19930 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-21 13:41:00 +00:00
Go MAEDA
2eb7d4fd35 Fix a RuboCop offense Layout/TrailingWhitespace due to r19766 (#27790).
git-svn-id: http://svn.redmine.org/redmine/trunk@19768 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-09 03:19:04 +00:00
Toshi MARUYAMA
6404ee5714 scm: mercurial: add double quote branch and tag name to test repository (#27790)
git-svn-id: http://svn.redmine.org/redmine/trunk@19766 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-08 13:08:40 +00:00
Toshi MARUYAMA
07d14ce721 scm: mercurial: refactor MercurialAdapterTest#test_branches for easy adding new branch to test repository
git-svn-id: http://svn.redmine.org/redmine/trunk@19764 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-08 12:25:37 +00:00
Toshi MARUYAMA
14f0215dbf fix source indents of MercurialAdapterTest
git-svn-id: http://svn.redmine.org/redmine/trunk@19761 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-08 12:25:08 +00:00
Toshi MARUYAMA
12318cff4d scm: mercurial: add test of author and message which have control character (#23055)
git-svn-id: http://svn.redmine.org/redmine/trunk@19608 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-22 16:35:09 +00:00
Toshi MARUYAMA
8de1d87e70 scm: mercurial: update test repository (#23055)
git-svn-id: http://svn.redmine.org/redmine/trunk@19607 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-22 16:34:59 +00:00
Toshi MARUYAMA
28f91a7332 scm: mercurial: refactor MercurialAdapterTest#test_branches for easy adding new branch to test repository
git-svn-id: http://svn.redmine.org/redmine/trunk@19605 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-22 16:15:14 +00:00
Go MAEDA
907e0173e4 Update copyright year in source files to 2020 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-03 00:24:10 +00:00
Go MAEDA
df96636e40 test_revisions_latin_1_identifier should be skipped on Windows (#32937).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@19499 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-06 12:49:30 +00:00
Toshi MARUYAMA
5936e47729 cleanup: rubocop: fix Layout/SpaceAfterComma in test/unit/lib/redmine/scm/adapters/subversion_adapter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19157 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 14:33:17 +00:00
Toshi MARUYAMA
50bd8be81b cleanup: rubocop: fix Layout/ClosingParenthesisIndentation in test/unit/lib/redmine/scm/adapters/subversion_adapter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19156 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 14:33:06 +00:00
Toshi MARUYAMA
9db5d29287 cleanup: rubocop: fix Layout/ClosingParenthesisIndentation in test/unit/lib/redmine/scm/adapters/git_adapter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19136 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-21 12:45:55 +00:00
Toshi MARUYAMA
5bff94f4ee cleanup: rubocop: fix Layout/EmptyLinesAroundClassBody in test/unit/lib/redmine/scm/adapters/subversion_adapter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19122 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-21 10:45:12 +00:00
Toshi MARUYAMA
567e8e6288 cleanup: rubocop: fix Layout/AlignArguments in test/unit/lib/redmine/scm/adapters/git_adapter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19031 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 16:05:33 +00:00
Toshi MARUYAMA
8bf12d8026 cleanup: rubocop: fix Layout/AlignArguments in test/unit/lib/redmine/scm/adapters/filesystem_adapter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19030 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 16:05:22 +00:00
Toshi MARUYAMA
513e869c93 cleanup: rubocop: fix Layout/AlignArguments in test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18935 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 00:46:03 +00:00
Toshi MARUYAMA
dc657cb2c0 code cleanup: rubocop: fix Layout/SpaceInsideReferenceBrackets in test/unit/lib/redmine/scm/adapters/git_adapter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18448 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-11 05:51:02 +00:00
Toshi MARUYAMA
75519b7158 code cleanup: rubocop: fix Layout/SpaceBeforeFirstArg in test/unit/lib/redmine/scm/adapters/git_adapter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18425 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-04 05:35:37 +00:00
Toshi MARUYAMA
9fa084133b code clean up test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18344 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-04 04:51:26 +00:00
Toshi MARUYAMA
6e6b01a65e rubocop: fix Layout/BlockAlignment of test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18343 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-04 04:51:14 +00:00
Toshi MARUYAMA
4b95697d23 rubocop: fix Layout/CaseIndentation of test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18338 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-03 05:33:57 +00:00
Toshi MARUYAMA
ec4177a2f3 rubocop: fix Layout/AlignArray of test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18332 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-07-29 12:47:01 +00:00
Go MAEDA
adebf4da1d Remove trailing whitespaces from test (#31506).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18233 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-06 14:53:23 +00:00
Go MAEDA
4082069c75 Update copyright year.
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-25 07:36:06 +00:00
Go MAEDA
f9e708728a Code cleanup: remove a unused variable last_rev_author from test_last_rev_with_spaces_in_filename.
git-svn-id: http://svn.redmine.org/redmine/trunk@18133 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-06 14:36:59 +00:00
Toshi MARUYAMA
451b6a98f7 fix source code indents in GitAdapterTest
git-svn-id: http://svn.redmine.org/redmine/trunk@18111 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-30 08:48:47 +00:00
Toshi MARUYAMA
ec557a67a4 scm: git: fix non ascii branch and tag browsing (#16881)
git-svn-id: http://svn.redmine.org/redmine/trunk@18042 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-05 07:41:08 +00:00
Toshi MARUYAMA
d9799f25a3 code clean up GitAdapterTest
git-svn-id: http://svn.redmine.org/redmine/trunk@18041 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-05 07:40:57 +00:00
Toshi MARUYAMA
ae0939952e scm: git: add new one latin1 tag to test repository (#16881)
git-svn-id: http://svn.redmine.org/redmine/trunk@18040 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-05 06:48:37 +00:00
Toshi MARUYAMA
5d2c03a196 scm: git: add new two latin1 branches to test repository (#16881)
git-svn-id: http://svn.redmine.org/redmine/trunk@18039 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-05 05:30:18 +00:00
Go MAEDA
b900ae6107 Support frozen_string_literal in test/**/*.rb (#26561).
Contributed by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@17996 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-21 03:27:53 +00:00
Go MAEDA
606e75d12d Use #b shortcut instead of #force_encoding (#31059).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@17992 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-20 01:36:44 +00:00