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

Re: Automatic commission?

From: David Weintraub <qazwart_at_gmail.com>
Date: Mon, 24 May 2010 17:57:53 -0400

On Mon, May 24, 2010 at 5:54 PM, Peng Yu <pengyu.ut_at_gmail.com> wrote:
> On Mon, May 24, 2010 at 4:46 PM, Daniel Becroft <djcbecroft_at_gmail.com> wrote:
>> On Tue, May 25, 2010 at 7:40 AM, Peng Yu <pengyu.ut_at_gmail.com> wrote:
>>> It seems that I have to specify which file or files to commit. This
>>> will be a problem if I always simultaneously edit tens of files before
>>> I can do a commission. Is there an automatic way to figure out which
>>> files should be commit and commit them?

No. If you want Subversion to know you've renamed a file, you have to
tell Subversion. Subversion doesn't sit there and watch all of your
keystrokes, so it doesn't know if you modified a file's name.

If you use "svn mv" or "svn rename" instead of the operating system
command for renaming or moving a file, Subversion will know that
you've renamed a file, and will also show that change in your working
directory:

$ ls
foo bar

$ svn mv foo fu

$ ls
fu bar

So, if you need to rename a file, you just need to use the Subversion command.

-- 
David Weintraub
qazwart_at_gmail.com
Received on 2010-05-24 23:58:23 CEST

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.