Re: [viewvc-users] Using viewvc with remote Subversion
"C. Michael Pilato" <[email protected]> Fri, 10 Jun 2016 09:12:43 -0400
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <575ABCCB.8030607__23683.1152615652$1465564389$gmane$org@collab.net> |
------=_Part_9239_2080578730.1465564375279 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Thanks! Committed to trunk and backported to the 1.1.x branch. On 06/09/2016 04:53 PM, Michael Schwager wrote: > > Your syntax works for me! More pythonic for sure. > > On Jun 9, 2016 3:14 PM, "C. Michael Pilato" <[email protected] > <mailto:[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=3174815 To unsubscribe from this discussion, e-mail: [[email protected]]. ------=_Part_9239_2080578730.1465564375279 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"> Thanks!=C2=A0 Committed to trunk and backported to the 1.1.x branch.<br= > <br> <div class=3D"moz-cite-prefix">On 06/09/2016 04:53 PM, Michael Schwager wrote:<br> </div> <blockquote cite=3D"mid:[email protected].= com" type=3D"cite"> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf= -8"> <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, "C. Michael Pilato" <<a moz-do-not-send=3D"true" href=3D"mailto:[email protected]">[email protected]</a>> 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"> <div bgcolor=3D"#FFFFFF" text=3D"#000000"> On 06/09/2016 03:44 PM= , Michael Schwager wrote:<br> <blockquote type=3D"cite"> <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 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 probabl= y 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> </div> </blockquote> </div> </blockquote> <br> </body> </html> ------=_Part_9239_2080578730.1465564375279--