You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Mark Morschhäuser <ma...@tvk.rwth-aachen.de> on 2005/04/27 11:43:44 UTC

Feature-Request

Hi,

we have the following situation here:
Our SVN-repository contains our project's sourcecode and the sourcecode from 
some 3rd party libs.
Most of these 3rd party libs are CVS checkouts and we update them every month.
Sometimes these libs delete files or add files which is a problem with our 
SVN, because files have to be added/deleted by hand.
The only solution at this time is:
a) svn del the lib-directories
b) svn ci
c) put the updatet sources in place
d) svn add the lib-directories
e) svn ci
That's much work and it uses much more space in the repos (we had a 5GB-repos 
after a half year), because this method doesn't use diffs.

A nice SVN-feature would be the following:
"svn diffupdate <directory>" or something like that, which
a) adds all files/directories within that directory that isn't inside the 
SVN-repos yet.
b) deletes all files/dirs from the SVN-repos when they are not found within 
that directory any more

There are some similarities to svn import, I guess.

What do you think? Is it a good feature or is there a better workaround for 
situations like that? (ok, the easiest way would be not to include the 3rd 
party libs within our SVN-repos, but we have reasons to do so)
Or maybe there still exists a tool that can do this?

-- 
Thanks in advance

Mark


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

Re: Feature-Request

Posted by Peter McNab <mc...@melbpc.org.au>.
On Wed, 2005-04-27 at 13:43 +0200, Mark Morschhäuser wrote:

>>Hi,
>>
>>we have the following situation here:
>>Our SVN-repository contains our project's sourcecode and the sourcecode from 
>>some 3rd party libs.
>>Most of these 3rd party libs are CVS checkouts and we update them every month.
>>Sometimes these libs delete files or add files which is a problem with our 
>>SVN, because files have to be added/deleted by hand.
>>The only solution at this time is:
>>a) svn del the lib-directories
>>b) svn ci
>>c) put the updatet sources in place
>>d) svn add the lib-directories
>>e) svn ci
>>That's much work and it uses much more space in the repos (we had a 5GB-repos 
>>after a half year), because this method doesn't use diffs.
>>
>>A nice SVN-feature would be the following:
>>"svn diffupdate <directory>" or something like that, which
>>a) adds all files/directories within that directory that isn't inside the 
>>SVN-repos yet.
>>b) deletes all files/dirs from the SVN-repos when they are not found within 
>>that directory any more
>>
>>There are some similarities to svn import, I guess.
>>
>>What do you think? Is it a good feature or is there a better workaround for 
>>situations like that? (ok, the easiest way would be not to include the 3rd 
>>party libs within our SVN-repos, but we have reasons to do so)
>>Or maybe there still exists a tool that can do this?
>>
>>    
>>
If your running MSWindows then a nice must-have utility is Beyond Compare.
In it's dual pane folder differences you can move and delete files 
easily and graphically.
It's a pretty good diff tool as well.

Peter

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

Re: Feature-Request

Posted by Gary Thomas <ga...@mlbassoc.com>.
On Wed, 2005-04-27 at 13:43 +0200, Mark Morschhäuser wrote:
> Hi,
> 
> we have the following situation here:
> Our SVN-repository contains our project's sourcecode and the sourcecode from 
> some 3rd party libs.
> Most of these 3rd party libs are CVS checkouts and we update them every month.
> Sometimes these libs delete files or add files which is a problem with our 
> SVN, because files have to be added/deleted by hand.
> The only solution at this time is:
> a) svn del the lib-directories
> b) svn ci
> c) put the updatet sources in place
> d) svn add the lib-directories
> e) svn ci
> That's much work and it uses much more space in the repos (we had a 5GB-repos 
> after a half year), because this method doesn't use diffs.
> 
> A nice SVN-feature would be the following:
> "svn diffupdate <directory>" or something like that, which
> a) adds all files/directories within that directory that isn't inside the 
> SVN-repos yet.
> b) deletes all files/dirs from the SVN-repos when they are not found within 
> that directory any more
> 
> There are some similarities to svn import, I guess.
> 
> What do you think? Is it a good feature or is there a better workaround for 
> situations like that? (ok, the easiest way would be not to include the 3rd 
> party libs within our SVN-repos, but we have reasons to do so)
> Or maybe there still exists a tool that can do this?
> 

This is just what the 'svn_load_dirs.pl' tool does quite well. 

Read the section of the book on vendor branches as well.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

Re: Feature-Request

Posted by Manuel VACELET <ma...@st.com>.
Mark Morschhäuser wrote:
> What do you think? Is it a good feature or is there a better workaround for 
> situations like that? (ok, the easiest way would be not to include the 3rd 
> party libs within our SVN-repos, but we have reasons to do so)
> Or maybe there still exists a tool that can do this?

I think svn_load_dirs.pl is what you need

Manuel

-- 
# VACELET Manuel     manuel.vacelet-abecedaire(at)st(dot)com #


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