]> source.dussan.org Git - jgit.git/commit
Better way to handle relative URLs in manifest XML 87/28087/2
authorYuxuan 'fishy' Wang <fishywang@google.com>
Fri, 6 Jun 2014 00:25:34 +0000 (17:25 -0700)
committerYuxuan 'fishy' Wang <fishywang@google.com>
Fri, 6 Jun 2014 00:40:37 +0000 (17:40 -0700)
commit39001eacc1158050d6f1deaea259b4fe4af136dc
tree6ecf23b5fe9e65d57f2c7a3758e1e6f701526606
parent64b0531c35674df21ed02ab96d5f5bc6f5af7052
Better way to handle relative URLs in manifest XML

The old implementation will NOT strip the filename part from the baseUrl, e.g.
https://android.googlesource.com/platform/manifest with .. will be resolved to
https://android.googlesource.com/platform/, which is actually wrong. This
implementation will resolve it to https://android.googlesource.com/ to match the
behavior of repo.

Change-Id: Ia32c8b34e16eacdf37a0da7025bf0b5cc5f67ed2
Signed-off-by: Yuxuan 'fishy' Wang <fishywang@google.com>
org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java