You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Calvin <sz...@hotmail.com> on 2005/07/18 03:38:21 UTC

SVN diff

I found svn diff can have a --diff-cmd to give me the file information only.

But even I only need the file name, svn diff still trying to figure out
what's the difference between the files, which make it very slow, as I have
198MB bin file checked in twice, diff such a file is not easy.

Is there anyway to signal svn diff only give me the file names?

Thanks

Calvin


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN diff

Posted by Ben Collins-Sussman <su...@collab.net>.
On Jul 17, 2005, at 10:38 PM, Calvin wrote:

> I found svn diff can have a --diff-cmd to give me the file  
> information only.
>
> But even I only need the file name, svn diff still trying to figure  
> out
> what's the difference between the files, which make it very slow,  
> as I have
> 198MB bin file checked in twice, diff such a file is not easy.
>
> Is there anyway to signal svn diff only give me the file names?
>

No, that's a new feature somebody is currently working on, I believe.


Another thing you can do is 'svn log -vq -rX:Y projectURL'.  That  
will show you which paths changed in each revision.  The only problem  
is that they're not a single list, and there may be duplicates.   
Still, it's more accurate than 'svn diff', since 'svn diff' won't  
show directory additions or deletions.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Web Dav

Posted by Samay <ge...@hotmail.com>.
> Hello,
> I tried to mount a drive for my svn repository. Everything works
> fine, except that I can not change the files in it. I tried to override a
> file, it told me an error happened while copying.
>
> Do I have to do something to make it writable?
>
> Thanks,
> Calvin

Glad to see a +ive transition in your perception about SVN wrt your past few 
posts. have you "SVNAutoVersioning On" in your config file for Repo of 
interest. RTF(ine)M? care to post (sanitized) config file?

..HTH

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Cannot filter trunk using svndumpfilter.

Posted by Carsten Koch <Ca...@icem.com>.
As suggested in the subversion book, we are using mod branches
for development. So developers basically do
     svn copy http://host/repos/product/trunk http://host/repos/product/mods/name
then work locally with http://host/repos/product/mods/name and
merge it back into the trunk using something like
     svn co http://host/repos/product/trunk
     svn merge -rstart:end http://host/repos/product/mods/name@end trunk

With a lot of developers, a lot of stuff piles up quickly under
http://host/repos/product/mods, so we would like to clean up
every now and then by dumping the repository and running it
though "svndumpfilter include product/trunk" to get rid of
everything else.

Unfortunately, this does not work. For files that were created in
a mod branch and merged back into the trunk, svndumpfilter
says "svn: Invalid copy source path" and aborts.

I understand that it is impossible to keep the entire history
intact, if the file originates from a mod branch that is not included.
But not including the mod branch is the entire point of the exercise. ;-)
So it would be nice if svndumpfilter would continue, converting the
"merge with history" into a "import without history".

Is there a switch to svndumpfilter that allows me to do that?
Or is it a missing feature?

Thanks for any hint,

Carsten.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Web Dav

Posted by Ben Collins-Sussman <su...@collab.net>.
Calvin wrote:
> Hello,
> 	I tried to mount a drive for my svn repository. Everything works
> fine, except that I can not change the files in it. I tried to override a
> file, it told me an error happened while copying.
> 
> 	Do I have to do something to make it writable?
> 

Make sure your mod_dav_svn installation is svn 1.2, then read this book 
chapter:

    http://svnbook.red-bean.com/nightly/en/svn.webdav.html

In particular, read the "Autoversioning" and "Client Interoperability" 
sections.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Web Dav

Posted by Calvin <sz...@hotmail.com>.
Hello,
	I tried to mount a drive for my svn repository. Everything works
fine, except that I can not change the files in it. I tried to override a
file, it told me an error happened while copying.

	Do I have to do something to make it writable?

	Thanks,
	Calvin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

RE: SVN diff

Posted by Dale Worley <dw...@pingtel.com>.
> From: Calvin [mailto:szguoxz@hotmail.com]
>
> I found svn diff can have a --diff-cmd to give me the file
> information only.

Try:  svn diff --diff-cmd=diff -x--brief

That should report only the names of the files that differ, not the
differences themselves.  Presumably, your diff with "--brief" is realtively
quick.

Dale


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org