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

RE: Re: any working Visual Studio 2005 SCC providers?

From: Hernan Martinez - ECC <hernan.martinez_at_ecc.es>
Date: 2005-12-22 12:03:42 CET

[About renaming sources in Visual Studio]

>> How do they handle renaming, moving and copying files within
>> a project? I haven't tried using Visual Studio and TSVN much,
>> but I found it hard to keep the project files in synch with
>> the actual file names and locations if I moved/renamed first
>> with TSVN, or I couldn't easily move/rename files with TSVN
>> after I had done the rename/move in Visual Studio.
>> Is this a non-issue for everyone else?

> VS/TSvn doesn't really do that very well. You essentially
> have to do it twice - first with TSvn, then in the project
> (refresh, exclude old, include new). Not that it's hard,
> but I can understand why you wouldn't want to do it that way...

After some experiments I also found that what you described is
the most convenient way. Keeps history and allows a single
commit for the whole operation where you're done. Forms are
a bit more arduous as you need to rename two files (the source
and the resource).

AnkhSVN provides a rename function that do the said task
in one click. It's still in beta and there are corner cases
that are buggy. Its devs are working on them.

Beware of renames that only differ in case, though.
I remember that it took more than one commit to do the task.
(There were issues with Visual Studio besides the Subversion one.)

Regards,
-Hernan.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Dec 25 03:33:26 2005

This is an archived mail posted to the Subversion Users mailing list.