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

RE: How to remove folders from working copy folder without having to manually svn remove folder

From: John Niven <jniven_at_bravurasolutions.com>
Date: Wed, 23 Jul 2008 10:26:42 +1200

> -----Original Message-----
> From: ben_at_amigos24.net [mailto:ben_at_amigos24.net]
> Sent: Wednesday, 23 July 2008 04:54
> To: subversion
> Subject: How to remove folders from working copy folder
> without having to manually svn remove folder
>
> Hi,
>
> I am looking for a command line possibility not to have to
> manually perform all changes to folder structure files of the
> working copy, so that changes are automatically present in
> the repo after committing.
>
> In other words:
> - I have a workingcopy folder "ben".
> - I delete the subfolder "deletefolder" from "ben"
> - With tortoise I can simply mark the working copy folder,
> then click add, and Tortoise automatically adds / removes the
> respective changes to the folders and files.
>
> What if there is no tortoise on Ubuntu?

There are a number of cross-platform and Linux clients:
http://subversion.tigris.org/links.html#clients
http://en.wikipedia.org/wiki/Comparison_of_Subversion_clients

I've not tried them, but NautilusSVN and naughtysvn apparently integrate
with Nautilus. If you're using Kubuntu there are clients that integrate
with Konqueror, too. There are numerous standalone clients that will
work with any desktop environment (some time ago I used RapidSVN on
Enlightenment DR17).

>
> SOLUTION FOR ADDING: For adding I found out how to do that:
> "svn add *", it then adds the new folder and prompts for
> existing folders and files that they already exist.
>
> NO SOLUTION FOR REMOVING: Is there a possibility to delete a
> folder from the working copy folder, then not having to
> remove the deleted folder with "svn remove deletefolder" and
> then to commit so that the folder will also be deleted from the repo.
>
> If any out there know how to handle the problem, let me know.
> If there is a good GUI for svn administration like tortoise I
> would also be happy.

I'd recommend a GUI client and stringly agree with Ryan that you
shouldn't delete from a repository simply because a file has been
deleted locally - what happens if you delete something in error?

However, "svn status" will list files (using the "!" indicator) that
have been deleted locally but not on the repository; if you really
wanted you could parse the results of "svn status" and execute "svn
delete" against the results.

Cheers
John

>
> Best,
> Ben
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-23 00:27:22 CEST

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.