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

Re: Auto-reconcile to current filesystem

From: Gary Affonso <glists_at_greywether.com>
Date: 2004-06-03 21:40:34 CEST

On 6/3/04 8:26 AM, "Greg Hudson" <ghudson@MIT.EDU> wrote:

>> In more practical terms, I'd like subversion to automatically
>> recognize that I've deleted a file, added a directory, moved a file,
>> etc.
> If you've moved or copied a file, how could we possibly determine what
> the source of that move or copy was?

Take a move...

The "auto-reconcile" would compare the previous filesystem (before the
changes) to the new one. It would notice that one of the files it tracked
was gone. It would also recognize that a new file with the same name had
appeared in another place in the filesystem. Actually, "svn stat" does all
that now.

So the next step is to simply look to correlate the two events and recognize
a move. Obviously not good in all situations (different files with
duplicate names in different areas of the tree) so maybe you get the user
involved in an approval process while the reconcile is being done.

I mean, if we applied the idea that "svn just can't know what changed" we'd
never have text-file diffing the first place. That deals squarely with the
problem that things "change" behind the repositories back (the contents of
text files) and that it's worth the effort to auto-recognize as many of
those changes as possible and to get user assistance in resolving things it
can't know (for things like merges).

So maybe what I'm hoping for is a diff tool that works on the general file
structure and offers change-approval for the basic svn operations (delete,
move, create, rename).

So your reply basically leads me to believe this is not a commonly requested
feature and certainly not something that I just failed to see in the manual.


- Gary

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 3 22:36:57 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.