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

newbie question: svn update only added files

From: Mike Johnson <mike_at_smarterliving.com>
Date: 2004-08-02 23:17:46 CEST

Hi all,

First-time poster. I'm pretty new to Subversion, so bear with me if (a) this is a silly and/or incomprehensible question, (b) I don't supply enough info, or (c) I'm doing something incorrectly to begin with.

That said, the problem is pretty simple. In a development branch of our website, I deleted a file and added a new file to replace it. I committed my changes and returned to the checkout we use to actually serve the pages. However, I wanted to update the new Add, update a couple other changes elsewhere, and then update the Delete. I figured I could simply do the following, but got the error shown:

   19 (central)[3:11pm][popups]> svn status -u
          * 158 336x280.2004-07-01.html
          * 336x280.2004-08-02.html
   Status against revision: 161
   20 (central)[3:11pm][popups]> svn update 336x280.2004-08-02.html
   svn: '336x280.2004-08-02.html' is not under version control

Now, this makes sense to me. However, there has to be a logical way to go about this, no? Is there any way to `svn update filename' on an Add without just calling `svn update' on the whole dir and getting all changes at the moment?

FWIW, I pored over the FAQ, browsed "The Book" and its section on update, and even searched around the list archives.

Thanks in advance if anyone can shed some insight!

Mike Johnson
Web Developer
Smarter Living, Inc.
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Aug 2 23:18:10 2004

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.