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

Michael Schwager <[email protected]> Thu, 9 Jun 2016 15:53:00 -0500
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <CAPm3rna0v5wjKz2C+bnwHrjvgJNB078on_hcvT3J+QdC91yUEA@mail.gmail.com>
------=_Part_8339_1902419274.1465505583972
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Your syntax works for me! More pythonic for sure.
On Jun 9, 2016 3:14 PM, "C. Michael Pilato" <[email protected]> wrote:

> 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=3174750

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

<p dir=3D"ltr">Your syntax works for me! More pythonic for sure.<br>
</p>
<div class=3D"gmail_quote">On Jun 9, 2016 3:14 PM, &quot;C. Michael Pilato&=
quot; &lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt=
; wrote:<br type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 =20
   =20
 =20
  <div bgcolor=3D"#FFFFFF" text=3D"#000000">
    On 06/09/2016 03:44 PM, Michael Schwager wrote:<br>
    <blockquote type=3D"cite">
     =20
      <div dir=3D"ltr">Well I changed it from $HOME to explicitly setting
        the full path, and it&#39;s working. I&#39;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 &quot;$HOME&quot; in th=
e
    config file, yeah, that&#39;s not going to work. Glad you figured out
    the problem, though.<br>
    <br>
    <blockquote type=3D"cite">
      <div dir=3D"ltr">
        <div>I dug into the code, and it&#39;s here that the problem is:</d=
iv>
        <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&#39;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>
  </div>

</blockquote></div>

------=_Part_8339_1902419274.1465505583972--