Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"svn info" fails for https urls [Tigris #887] #1

Open
markphip opened this issue Sep 15, 2016 · 0 comments
Open

"svn info" fails for https urls [Tigris #887] #1

markphip opened this issue Sep 15, 2016 · 0 comments
Labels

Comments

@markphip
Copy link
Contributor

Description

I am using svnant 1.2.1 with svnkit 1.2.3 to try to get "svn info" on some
svn:externals of my project, like this:
        <svn svnkit="true" javahl="false">
            <info target="${proj1}/bin" propPrefix="proj1.svn."/>
            <info target="${proj2}/bin" propPrefix="proj2.svn."/>
        </svn>

The svn:externals happen to use https. It works fine for me on both Mac OS X
10.5 and Windows XP, but for others it fails for them on Mac OS X 10.5:
      [svn] <Info> started ...
      [svn] svn: authentication cancelled
      [svn] svn: authentication cancelled
      [svn] <Info> failed !
This is odd, since I would have expected it to fail consistently. Also, I'm not
sure why "svn info" even needs to try authentication-- it shouldn't need to hit
the server at all. In fact, if I disconnect my machine from the network, a
command line "svn info" will work. However, svnant will fail:
      [svn] <Info> started ...
      [svn] svn: unknown host
      [svn] svn: OPTIONS request failed on
'/svn/MyProject/branches/production/dist/bin'
      [svn] svn: unknown host
      [svn] svn: OPTIONS request failed on
'/svn/MyProject/branches/production/dist/bin'
      [svn] svn.lan.flt: svn.lan.flt
      [svn] <Info> failed !

So it seems like svnant is needlessly hitting the server.

I tried this with svnkit="false" so that it would use the system svn and it
works fine.  This made me think that its an svnkit issue, so I filed a bug with
them here:
   http://svnkit.com/tracker/view.php?id=300
However, they are insisting that it is an svnant issue.

Metadata Imported from Tigris (Issue 887)

  • Creation Date: 2009-04-01 09:20:12
  • Reporter: paleozogt
  • Subcomponent: svnant
  • Version: unspecified
  • Milestone: not determined
  • Keywords:
  • Cc:

Comments

2011-01-14 17:08:39 by costamojan

I will have a look at this.

Best regards

Daniel Kasmeroglu

2011-01-16 04:54:25 by costamojan

Hi Aaron,

I've tried to recreate the error scenario which didn't work. Could you please
verify whether this issue is still relevant or not while using the current
development snapshot of svnant ?

   http://www.kasisoft.com/hudson/job/svnant/

Best regards

Daniel Kasmeroglu
@markphip markphip added the bug label Sep 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant