[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: Peng Yu <pengyu.ut_at_gmail.com>
Date: Mon, 24 May 2010 17:03:41 -0500

On Mon, May 24, 2010 at 4:57 PM, David Weintraub <qazwart_at_gmail.com> wrote:
> 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.

I might change filenames or even move files around several times
before I 'commit'. Since I need tell svn the renames and moves that I
have done, does svn keep all the intermediate changes when I finally
'commit'.

I think that svn should not keep track of the intermediate changes
after 'commit'. But I'm not sure if svn is doing so. Could you please
let me know if it is the case?

-- 
Regards,
Peng
Received on 2010-05-25 00:04:11 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.