[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn:author revision property set to ^C

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-07-31 20:42:15 CEST

On 7/31/06, Jeffrey Chang <jeffrey.t.chang@gmail.com> wrote:
> On 31/07/06, Garrett Rooney <rooneg@electricjellyfish.net> wrote:
> > On 7/31/06, Jeffrey Chang <jeffrey.t.chang@gmail.com> wrote:
> [cut description of problem: svn:author gets set to ^C]
> > > Where does the value of svn:author come from? Where would be a good
> > > place for the IT folk to begin looking? I am using default
> > > pre-revprop-change and other scripts, so those should not be affecting
> > > the value.
> >
> > What exactly are you trying to do? Debug how it got there in the
> > first place? Or just make the problem go away?
> Top priority is to make the problem go away, permanently. Figuring
> out how it got there would be a bonus.
> > If it's a fsfs repository it's not that hard to make the problem go
> > away (svn pset over file:// should be able to do it, if you've got a
> > pre-revprop-change hook that allows modification of svn:author,
> > alternatively you can tweak the revision's properties file on disk by
> > hand). Tracking down where the problem came from is far more work.
> Yes, that works. I can fix the properties file by hand, and the
> repository then appears to work normally.
> This occurs every time I check files into the repository. So the
> procedure now is to svn commit, fix the revision properties, move the
> broken .svn/log, svn cleanup, and svn update to update the revision
> number (which didn't get updated in the broken svn commit); which is
> too painful to do every time.
> It appears that this error occurs only over file:// and not over
> svn+ssh://. Since it looks like tracking down the problem will be
> difficult, maybe I'll just switch over to svn+ssh. Are there any
> relatively easy tests I can do to see where the author might be
> getting messed up when accessing with file://?

Well, if I had to guess it's that your username is being cached as ^C
in ~/.subversion/auth/svn.username (which is used by file:// not
svn+ssh://), and you're using an old enough version of svn that it
doesn't validate that usernames shouldn't contain control characters.
Or, alternatively, I'm mistaken and there is no validation of
usernames, but I'm pretty sure there is. I know we have validation on
other properties, since I've tracked down related problems in the


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 31 20:43:39 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.