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

Re: svnupdate - some directories not being updated

From: John Peacock <john.peacock_at_havurah-software.org>
Date: Tue, 12 Feb 2008 11:06:48 -0500

> I am seeing a strange issue with svn – version 1.3.2, specifically with
> the svn update command.

Recommendation #1 - upgrade to something more current (e.g. 1.4.6) on
both the client and server. There aren't going to be any fixes applied
to the 1.3.x branch (barring extremely serious security fixes). There
are few (if any) developers who still run such an old version, so you
are automatically limiting the number of people who can assist you.

> As these docs are web-based, we have a simple ‘update script’, which
> does nothing more than run an
>
> ‘svn update’ once every 5 mins in a particular directory on the
> webserver (i.e. a read-only workspace that the webserver points to ).

Recommendation #2 - use a real post-commit script, rather than some
time-based updates. Since you didn't tell us anything about your
environment (SVN server O/S, web server O/S, client O/S, etc), it's hard
for me to recommend anything specific. I did write SVN::Notify::Mirror*
specifically to make it very easy to create sophisticated post-commit hooks.

> A user recently created a new sub-directory and checked it in:
>
> In the path docs/trunk/new_dir
>

What path do you have checked out on the web server?

>
> This sub-directory, and its contents were NOT however updated to the
> webservers workspace by the auto svn update.
>
> I cannot figure out why. All other subdirectories and files are auto
> populated, so why did this one not work?

What happened when you tried to manually run the `svn up` command in the
website's working copy (before you explicitly updated the new_dir)?

Basically, the narrative you have described has very little detail of
the kind needed for anyone to help to resolve this for you. What would
be best is a reproduction recipe: what you typed, what the software
responded, etc, so someone can try and recreate your issue. And of
course, you need to tell us a lot more than just the [outdated] version
of the Subversion software...

HTH

John

*) http://search.cpan.org/search?query=SVN-Notify-Mirror

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-12 17:07:13 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.