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

Re: Why does svn think that file 'login' should be absent?

From: Mark Kempster <mark_at_kempster.org>
Date: Thu, 29 Jan 2009 09:49:00 -0500

Long story short, I'm the victim of my own stupidity. I have apache
managing trac and subversion on that machine. This little gem, which
comes from Trac's stock-standard config, seems to be the culprit:

  ## Trac and subversion authentication ##
  <LocationMatch "/[^/]+/login">
    AuthType Basic
    AuthName "Projects"
    AuthUserFile /etc/svn.htpasswd
    Require valid-user
  </LocationMatch>

Commenting that bit out seems to fix things.

Big thanks to Daniel and Ryan for the suggestions to noodle around
with the server config.

Just have to tighten up that regex, and I think all will be well.

- Mark

On Thu, Jan 29, 2009 at 12:57 AM, B Smith-Mannschott
<bsmith.occs_at_gmail.com> wrote:
> On Thu, Jan 29, 2009 at 5:29 AM, Mark Kempster <mark_at_kempster.org> wrote:
>> I'm trying to add a file named 'login' to a test directory in my
>> repository. I can add it just fine, and svn info seems to indicate (to
>> my inexpert eye) that things are ok:
>>
>> $ svn info
>> Path: .
>> URL: http://projects.kempster.org/repos/binder/test
>> Repository Root: http://projects.kempster.org/repos/binder
>> Repository UUID: 7b2b5eff-65aa-436a-985b-ac804fb3f248
>> Revision: 61
>> Node Kind: directory
>> Schedule: normal
>> Last Changed Author: mark
>> Last Changed Rev: 61
>> Last Changed Date: 2009-01-28 23:31:12 -0500 (Wed, 28 Jan 2009)
>>
>>
>> There are a couple files in the 'test' directory there, with names like 'login'
>>
>> $ svn ls http://projects.kempster.org/repos/binder/test
>> logi
>> login
>> login.xhtml
>>
>>
>> When I go to check out that directory, only the first file shows up in
>> the working copy
>>
>> $ svn co http://projects.kempster.org/repos/binder/test
>> A test/logi
>> Checked out revision 63.
>>
>>
>> test/.svn/entries seems to indicate that the files "login" and
>> "login.xhtml" are absent. The mailing list has a couple other
>> questions along this route, but no answers.
>>
>> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=660929
>> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&viewType=browseAll&dsMessageId=501439#messagefocus
>>
>> So, a couple questions.
>>
>> 1. Where can I find out more about the 'absent' file status?
>> 2. How can I make subversion un-absent a file?
>> 3. What's special about the word / prefix 'login'?
>>
>> Thanks much for any pointers.
>> Mark
>
> (1) did you commit login and login.html after adding them?
> (2) have you inadvertently told svn to ignore files matching the
> pattern "login*"?
>
> This could be in ~/.subversion/config
> smithma_at_wesley:~/w/files.svn$ grep ignore /home/smithma/.subversion/config
> ### Set global-ignores to a set of whitespace-delimited globs
> ### which Subversion will ignore in its 'status' output, and
> global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc
> *.pyo *.rej *~ .*.swp .DS_Store *.class #*# .#*
>
> Or through having the svn:ignore property set on your directory.
> $ svn pg svn:ignore .
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1069081

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-29 15:51:14 CET

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.