rtcTo / rtc2gitcli

An IBM's RTC SCM tool extension to migrate an RTC repository into a Git repository
https://rtc.to
MIT License
28 stars 34 forks source link

Fix issue #36. #37

Closed akoptelov closed 7 years ago

akoptelov commented 7 years ago
akoptelov commented 7 years ago

With this patch it is possible to write git.config.core.dirNoGitLinks=true to set dirNoGitLinks option from core section to true. As a result, JGit will treat a folder containing .git directory as plain subfolder, not a separate repository.

reinhapa commented 7 years ago

@akoptelov can you tell me what version of the RTC client you use? As I remember, did the old verisons not support the requirements of JGit 4.3. A may have to create a separate branch for the newer RTC versions that support JGit 4.3

akoptelov commented 7 years ago

@reinhapa It's 6.0 SDK. What was that unsupported requirements? I didn't change anything that RTC could possibly depend on. I thought it might be Java version (mine was java8), but it also works perfectly with IBM Java 1.6.

reinhapa commented 7 years ago

@akoptelov when we migrated, we still had RCT 5.0.1 and some of the users that used this projects had/have 4.0.3

akoptelov commented 7 years ago

@reinhapa I can try to do some basic testing against 5.0.2. 4.0.x reaches its end of support very soon. Do we need that?

reinhapa commented 7 years ago

@akoptelov I think set after we merged in your other PR #34 after some prior formatting clean ups will do it.

akoptelov commented 7 years ago

@reinhapa Just rebuilt and migrated using scmtools 5.0.2. Works fine. Would that be enough?