On Mon, May 24, 2010 at 5:54 PM, Peng Yu <pengyu...@gmail.com> wrote:
> On Mon, May 24, 2010 at 4:46 PM, Daniel Becroft <djcbecr...@gmail.com> wrote:
>> On Tue, May 25, 2010 at 7:40 AM, Peng Yu <pengyu...@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
qazw...@gmail.com

Reply via email to