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

Re: Is it possible to 'unimport'?

From: Blair Zajac <blair_at_orcaware.com>
Date: Thu, 31 Jan 2008 17:51:32 -0800

Sohail Somani wrote:
> On Thu, 31 Jan 2008 14:55:03 -0800, Blair Zajac wrote:
>
>> Mark Knoop wrote:
>>>> On Jan 31, 2008, at 16:34, Mark Knoop wrote:
>>>>
>>>>> If I import a large file into a repository by accident is it possible
>>>>> to reverse the action so as not to permanently increase the size of
>>>>> the repository?
> [snip]
>> That's why I recommend never using import. Create the top level
>> directory where you want to "import" your files, check out this
>> directory, then copy the files into it you want to use, then add them.
>> Finally, do a commit.
>
> I don't see how the two are even remotely related. If you add files and
> you want to reverse the action so as to not permanently increase the size
> of the repository (i.e., fantasy_svn obliterate) you still have to do the
> svndumpfilter magic.

There is no separate commit step with import, as it does a commit immediately
when it's finished. With add, it's two steps, so you can verify your work
before you do the commit.

If you get a typo or anything wrong in an import, and you aren't quick with that
Control-C, then it's been committed :)

Blair

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-01 02:52:23 CET

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.