660 Commits

Author SHA1 Message Date
René Pfeuffer
a6af1d0e34 Fix not found error when reading empty hg repository 2020-09-29 10:43:41 +02:00
René Pfeuffer
059482f8ab Detect missing paths in hg fileview command
If a not existing path is request in the fileview command, it will
be treated as an empty directory. But such a thing does not exist in hg.
Therefore we handle this result as what it is: a not existing path -
and we throw a not found exception.
2020-09-22 17:31:57 +02:00
Eduard Heimbuch
b2a204dda0 fix review findings 2020-09-18 10:12:56 +02:00
Eduard Heimbuch
89b6829108 cleanup 2020-09-16 15:23:32 +02:00
Eduard Heimbuch
909f5ebec9 add instructions to checkout tags 2020-09-16 14:11:27 +02:00
galinette-34
89aa1dbe16 Update ProtocolInformation.tsx
Second output redirection to file .hg/hgrc need operator ">>"
2020-09-03 14:56:04 +02:00
René Pfeuffer
565ec3ff3c Cleanup 2020-08-27 10:48:54 +02:00
Konstantin Schaper
ecfc70eb77 wip refactoring 2020-08-26 10:01:51 +02:00
Konstantin Schaper
36231d077a cleanup and update tests 2020-08-25 18:08:31 +02:00
Konstantin Schaper
6d409c65c0 initial implementation 2020-08-25 14:45:48 +02:00
Sebastian Sdorra
030ef30ffb uses parent constructor with RootURL 2020-08-03 14:01:44 +02:00
Sebastian Sdorra
3f857fec04 rename UnixAutoConfigurator to PosixAutoConfigurator and make it match for linux systems 2020-07-02 07:02:51 +02:00
Sebastian Sdorra
2bb865bf5c fixes python module path detection 2020-07-01 15:28:37 +02:00
Sebastian Sdorra
17d31b80e0 implemented a new auto configuration mechanism for mercurial on unix
This new mechanism is more robust and should find python and python3 installations
2020-07-01 15:01:14 +02:00
Sebastian Sdorra
4061cc6b73 added python 3 support to fielview hg extension 2020-07-01 11:10:39 +02:00
Sebastian Sdorra
4acedc1a8d merge with develop branch 2020-06-30 16:46:15 +02:00
Sebastian Sdorra
0720878a19 make scmhooks compatible between python 2 and 3 2020-06-30 16:40:34 +02:00
Sebastian Sdorra
3a4896091b make scmhooks compatible with python 2 and 3 2020-06-30 16:40:01 +02:00
Sebastian Sdorra
fe2111559a fixed hg clone on python 3 2020-06-29 16:13:05 +02:00
Sebastian Sdorra
f301d174d3 remove old python scripts which are not used in v2 2020-06-29 15:25:00 +02:00
Sebastian Sdorra
813b8db3ca update javahg to version 0.15-scm1 2020-06-29 15:15:03 +02:00
Sebastian Sdorra
ef8317d30b Revert "added support for python3"
This reverts commit c924d73115.
2020-06-04 09:53:26 +02:00
Sebastian Sdorra
c924d73115 added support for python3 2020-06-04 07:18:42 +02:00
René Pfeuffer
8528c0cfc1 Fix sonar issues 2020-06-02 21:48:28 +02:00
René Pfeuffer
3a68e5ff2b Rename class 2020-06-02 21:31:44 +02:00
René Pfeuffer
77d6784386 Remove unnecessary interfaces 2020-06-02 21:31:44 +02:00
René Pfeuffer
7e945afc43 Keep ParentAndClone inside working copy factories 2020-06-02 21:31:44 +02:00
René Pfeuffer
d6b618f0ec Remove superfluous exception class 2020-06-02 21:31:44 +02:00
René Pfeuffer
3c808bf171 Use existing RepositoryProvider 2020-06-02 21:31:44 +02:00
René Pfeuffer
4c73f27389 Make reclaimer and initializer top level classes 2020-06-02 21:31:44 +02:00
René Pfeuffer
62a47d016f Document SimpleGitWorkingCopyFactory 2020-06-02 21:31:44 +02:00
René Pfeuffer
f74b7626eb New package for working copy related classes 2020-06-02 21:31:44 +02:00
René Pfeuffer
e968aa17ef Cleanup 2020-06-02 21:31:44 +02:00
René Pfeuffer
1163ce9002 For the time being we are happy to delete files, not directories 2020-06-02 21:31:44 +02:00
René Pfeuffer
e8247cbfe1 Clean up hg repo on reclaim 2020-06-02 21:31:44 +02:00
René Pfeuffer
8bd17a03d7 Use better names
The name 'workdir' is now only used for a concrete directory, where a
clone can be created in. The new name 'working copy' is used for a
concrete instance of such a directory, where a clone has been created in
for a repository stored in SCM-Manager. Such a working copy can be
cached and reused for further changes.
2020-06-02 21:31:43 +02:00
René Pfeuffer
5f96244b9b Add shutdown 2020-06-02 21:31:43 +02:00
René Pfeuffer
7e89a0c1c0 Update repositories in reclaim 2020-06-02 21:31:43 +02:00
René Pfeuffer
5b034f8d02 Introduce cache layer for workdirs 2020-06-02 21:31:43 +02:00
Eduard Heimbuch
97cac87563 merge with develop 2020-05-20 12:13:47 +02:00
René Pfeuffer
2b1ba7e4f3 Update servlet version 2020-05-19 16:29:40 +02:00
René Pfeuffer
5c7491c254 Add unit test for hg modifications command 2020-05-19 10:43:59 +02:00
René Pfeuffer
541d6ee0c6 Support copy and renamed modifications for hg 2020-05-19 09:56:24 +02:00
René Pfeuffer
c722565109 Hide getEffectedPaths for other packages 2020-05-19 09:56:24 +02:00
René Pfeuffer
35ffc5c4e2 Introduce new API for modifications
New modifications includes list of 'renames'. Therefore we introduce
a new base class Modification.
2020-05-19 09:56:24 +02:00
René Pfeuffer
3a92aae21c Escape > in html 2020-05-19 09:54:05 +02:00
René Pfeuffer
d5d9690389 Remove redundant constructor parameter
The repository can be retrieved from the context and does not have to be
passed through by every constructor
2020-05-12 15:45:58 +02:00
René Pfeuffer
3d5dda5bd8 Revert changes to jaxb context 2020-05-07 11:04:17 +02:00
Eduard Heimbuch
beb9ad0d13 cleanup outdated jaxb annotations 2020-05-05 18:58:58 +02:00
Florian Scholdei
f1b34eb502 Changeover to MIT license (#1066)
* prepare license-maven-plugin for license migration
* added license mapping for tsx files and added some more excludes
* Changeover to MIT license
* Fix build problems
* Delete old remaining licenses
* Add more exclude path for license checker
* Rename included netbeans license, add exclude .m2/repository/
* Specify .m2 exclude because not only repository/, also wrapper/ must match
* Add .cache/ exclude for license check
* Modify formatting of license in java classes to comply with convention and IDE
* Add IntelliJ documentation for license configuration
* Update CHANGELOG.md
* Exclude tmp/workspace/ dir for license check
* Edit README.md

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2020-03-23 15:35:58 +01:00