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

Re: How to find new files added by others into main repository

From: Laszlo Szabo <laszlo.a.szabo_at_googlemail.com>
Date: 2007-04-01 00:12:14 CEST

Thanks Matt & Duncan for the replies. Yes I had meant "working copy" when I
wrote "local repository". Also I know this isn't a tortoiseSVN mailing list
so won't labor this point but I had in fact tried to move a couple of files
from one location to another in my working copy, but looks like I ended up
with the situation described at
http://www.mind.ilstu.edu/research/robots/iris4/developers/svntutorial/
ie "When you run an update, only the files already checked out will be
updated (or deleted, if they were deleted in the repository since you last
updated) - if new files have been added to the repository, or you if you
have deleted a file (or renamed a file), you will not get all of the files
in the current version. Again, only the files already on your hard drive
will be touched, and they can only be deleted or overwritten with the latest
version of the file."

Anyway to resolve this issue, I ended up deleting the working copy and
checking the whole repository out again. I don't know if there's an
easier/faster way of achieving this?

On 31/03/07, Duncan Murdoch < murdoch@stats.uwo.ca> wrote:
>
> On 3/31/2007 12:35 PM, Laszlo Szabo wrote:
> > 1. What is the standard or best way to refresh one's local repository
> with
> > new files/folders that had been added by others to the main repository?
> The
> > update command only seems to work with files that already exist locally
> but
> > ignores any that have been added by others. It would be a shame and a
> large
> > timewaster for large repositories if the only way to do this is to
> > periodically delete the local repository and checkout everything afresh
> from
> > the main one.
>
> svn update will normally add new files. I suspect the issue in your
> case is that you have checked out a subdirectory (e.g. trunk), and the
> new files were added to a different one (e.g. a branch).
> >
> > 2.What command(s) can provide a list of all folders/files that are in
> the
> > main repository but not in the local one?
>
> I don't think there is such a command. You can use "svn ls -R" to list
> all the files in the repository, but you'll have to filter the list
> yourself.
>
> Duncan Murdoch
>
>
Received on Sun Apr 1 00:12:38 2007

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.