Re: [viewvc-users] Using viewvc with remote Subversion

"C. Michael Pilato" <[email protected]> Thu, 9 Jun 2016 16:14:02 -0400
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <5759CE0A.2080402__6058.28091870553$1465503264$gmane$org@collab.net>
------=_Part_8254_168282959.1465503254488
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

On 06/09/2016 03:44 PM, Michael Schwager wrote:
> Well I changed it from $HOME to explicitly setting the full path, and
> it's working. I'm not sure if $HOME was recognized as something else.
> But the full path did the trick.

If you were trying to use the literal substring "$HOME" in the config
file, yeah, that's not going to work. Glad you figured out the problem,
though.

> I dug into the code, and it's here that the problem is:
>
> assert type(rev) is int

Good catch!  Man, that code is old.  I should probably patch ViewVC to
include that fix, though I'm tempted to instead use:

    assert type(rev) in (int, long)

Can you confirm that this syntax continues to work for you?

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=3174743

To unsubscribe from this discussion, e-mail: [[email protected]].
------=_Part_8254_168282959.1465503254488
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <meta content=3D"text/html; charset=3Dutf-8" http-equiv=3D"Content-Type=
">
  </head>
  <body bgcolor=3D"#FFFFFF" text=3D"#000000">
    On 06/09/2016 03:44 PM, Michael Schwager wrote:<br>
    <blockquote
cite=3D"mid:CAPm3rnbiE4ak7acHMnyGtALduoFJ4FE=3DY_j5hiN+cD=3Dnau=3D0Ow@mail.=
gmail.com"
      type=3D"cite">
      <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=
-8">
      <div dir=3D"ltr">Well I changed it from $HOME to explicitly setting
        the full path, and it's working. I'm not sure if $HOME was
        recognized as something else. But the full path did the trick.</div=
>
    </blockquote>
    <br>
    If you were trying to use the literal substring "$HOME" in the
    config file, yeah, that's not going to work. Glad you figured out
    the problem, though.<br>
    <br>
    <blockquote
cite=3D"mid:CAPm3rnbiE4ak7acHMnyGtALduoFJ4FE=3DY_j5hiN+cD=3Dnau=3D0Ow@mail.=
gmail.com"
      type=3D"cite">
      <div dir=3D"ltr">
        <div>I dug into the code, and it's here that the problem is:</div>
        <div><br>
        </div>
        <div>assert type(rev) is int<br>
        </div>
      </div>
    </blockquote>
    <br>
    Good catch!=C2=A0 Man, that code is old.=C2=A0 I should probably patch =
ViewVC
    to include that fix, though I'm tempted to instead use:<br>
    <br>
    =C2=A0=C2=A0=C2=A0 assert type(rev) in (int, long)<br>
    <br>
    Can you confirm that this syntax continues to work for you?<br>
  </body>
</html>

------=_Part_8254_168282959.1465503254488--