Commit Graph

563 Commits

Author SHA1 Message Date
Eduard Heimbuch
a13d129eff add Test / HgBrowseCommand shouldResolveBranchForRevision 2019-10-29 10:49:38 +01:00
Eduard Heimbuch
730646f4a8 hgBrowseCommand resolves Branches as Revision for BrowseResult 2019-10-29 10:40:10 +01:00
Eduard Heimbuch
949a8fe4f1 merge 2.0.0-m3 2019-10-25 12:33:16 +02:00
Eduard Heimbuch
a938fd8682 enhance logcommand 2019-10-25 12:31:18 +02:00
Eduard Heimbuch
5c7bd90f7a return changesetId for git & hg 2019-10-24 11:57:16 +02:00
Eduard Heimbuch
fb0eb329e5 return branch for git & hg for correct redirect 2019-10-24 09:11:17 +02:00
Florian Scholdei
6b21f609f4 Migrate react-i18next translate components in scm-plugins 2019-10-23 16:09:28 +02:00
Rene Pfeuffer
a93380b867 Differentiate types for central and cloned repository 2019-10-21 14:10:50 +02:00
Sebastian Sdorra
0703f1e2bd migrate core plugins from flow to typescript 2019-10-21 12:13:08 +02:00
Florian Scholdei
2a3e5e4ded Merge with 2.0.0-m3 2019-10-10 10:59:04 +02:00
Rene Pfeuffer
68c08d664c Merged in feature/editor_plugin_hg (pull request #330)
Feature/editor plugin hg
2019-10-09 09:39:10 +00:00
Rene Pfeuffer
1595d31074 fix indentation 2019-10-08 15:50:04 +02:00
Eduard Heimbuch
416eccacc8 small fixes 2019-10-08 15:46:56 +02:00
Eduard Heimbuch
c97c11f904 fix fileview command since it was using a deprecated api which is no longer available in newer mercurial versions (<= 4.7) 2019-10-08 14:10:00 +02:00
Rene Pfeuffer
76c7821ed2 Reduce code redundancy 2019-10-08 11:58:13 +02:00
Sebastian Sdorra
8f8072d760 rename bundles folder into assets 2019-10-08 08:36:53 +02:00
Sebastian Sdorra
6e99182b4e use new plugin bundle format 2019-10-07 17:06:00 +02:00
Eduard Heimbuch
285084aed1 remove closeRepository after unit tests since its already closed by abstractTestBase 2019-10-07 16:51:46 +02:00
Eduard Heimbuch
cb6f1bfa22 remove unused move-method from ModifyCommand / create interface for CommandRequests with Author 2019-10-07 14:59:46 +02:00
Eduard Heimbuch
120416c4d6 pull modify changes from working copy to central repository so that mercurial hooks gets triggered 2019-10-07 13:49:43 +02:00
Eduard Heimbuch
a40410d1ae fix hg modify command after factory changes 2019-10-07 11:10:37 +02:00
Eduard Heimbuch
34169fb21c merged 2019-10-07 10:48:07 +02:00
René Pfeuffer
3dea971e10 Checkout target branch while cloning repository
This will prevent the checkout of a wrong initial branch and therefore
safe some unnecessary io
2019-10-06 16:29:50 +02:00
Rene Pfeuffer
a9559f5fad Merge with 2.0.0-m3 2019-10-02 11:48:37 +02:00
Eduard Heimbuch
6417ab57e8 remove unnecessary handler from HgModifyCommand / move NoChangesMadeException to scm-core 2019-10-02 10:43:35 +02:00
Eduard Heimbuch
75346c925e implement Modify Command 2019-10-02 10:00:57 +02:00
Sebastian Sdorra
151049657a Merged in bugfix/postpone_writing_to_stream (pull request #322)
Postpone writing to output stream in diff command
2019-10-01 12:52:25 +00:00
Eduard Heimbuch
fb5617d940 implement create method for HgModifyCommand 2019-10-01 14:41:56 +02:00
Eduard Heimbuch
0a5575c2fd add HgModifyCommand / implement delete method 2019-09-30 15:58:33 +02:00
Rene Pfeuffer
e0e4db5583 Fix diff for hg 2019-09-25 15:41:02 +02:00
Rene Pfeuffer
3d27938e80 Postpone writing to output stream in diff command
Without this, the gzip filter would write the first bytes to the
response output stream, before the diff command is triggered and
potential exceptions may be thrown. When exceptions are thrown too late,
filters like the GZip filter may already have sent bytes to the response
stream. Afterwards this cannot be undone and the response created by an
exception mapper may not be valid anymore.
2019-09-25 12:15:30 +02:00
Florian Scholdei
bb1a4c68db add columns for hg configuration page 2019-09-24 15:47:35 +02:00
René Pfeuffer
4f21756d00 Extract class to provide temporary work directories 2019-08-27 16:56:44 +02:00
Sebastian Sdorra
07e70794fb improve plugin information for core plugins 2019-08-19 09:32:18 +02:00
Sebastian Sdorra
55e4568ee5 use mapstruct for dto mapping and fix missing fields 2019-08-15 17:01:15 +02:00
Eduard Heimbuch
b99199e349 merge 2.0.0-m3 2019-08-15 10:51:36 +02:00
Eduard Heimbuch
97c10a867c merged 2019-07-05 08:03:55 +02:00
Rene Pfeuffer
69b26f0f29 Add hint that exception can be ignored 2019-07-04 11:46:25 +02:00
René Pfeuffer
c35363b79f Store repository id in git config for each repository
This is needed after migration from v1 to v2 and is done in
GitV1UpdateStep.java. Therefore we hat to make the 'forAllPaths' method
in PathBasedRepositoryLocationResolver available in the interface of
RepositoryLocationResolver.
2019-07-03 07:48:06 +02:00
Sebastian Sdorra
80febf9424 added modules, classloading and view packages to sonia.scm.lifecycle 2019-06-25 09:49:52 +02:00
René Pfeuffer
6244713970 Move constant to interface 2019-06-03 13:47:05 +02:00
René Pfeuffer
7f4792ec49 Remove PathBasedRepositoryDAO
The computation of the file path for the repository is done by
RepositoryLocationResolver.
2019-05-10 08:06:36 +02:00
René Pfeuffer
c44d38cc61 Introduce abstraction for repository location 2019-05-09 14:08:18 +02:00
René Pfeuffer
ad51a6fa27 Add cd after init to get into new repository directory 2019-04-29 11:08:05 +02:00
Florian Scholdei
7442712cd7 merge 2019-04-01 15:33:51 +02:00
Florian Scholdei
5420884f5a added hg and git branch manual 2019-04-01 13:47:41 +02:00
René Pfeuffer
2e93a9efec Implement peer review comments 2019-03-29 15:39:44 +01:00
René Pfeuffer
89de300137 Add minimal error handling 2019-03-29 13:39:55 +01:00
René Pfeuffer
bf84037019 Minimal cleanup 2019-03-29 13:25:22 +01:00
René Pfeuffer
ee219f2d59 Remove unnecessary interface 2019-03-29 10:36:55 +01:00