new user, questions about deletions

View: New views
19 Messages — Rating Filter:   Alert me  

Parent Message unknown new user, questions about deletions

by Oblio Leitch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm fairly new to Tortoise & SVN, and I have a question about
managing deletions that occur.  I've got a set of files, v1, and in
the next version, some of those files are removed.  Now, I know I can
select each file and choose delete from the menu, but I'm trying to
get these pushed through automatically.  And, when I 'commit' to the
repository, it lists them as 'deleted', but if I check them to be
included in the commit, I just get an error. How would I go about doing this?

TIA,

Oblio


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


Re: new user, questions about deletions

by Kevin Hung-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

What is the error message when you commit? I did this kind of thing before and I don't have problem.

On 2/21/06, Oblio <subscriber@...> wrote:
I'm fairly new to Tortoise & SVN, and I have a question about
managing deletions that occur.  I've got a set of files, v1, and in
the next version, some of those files are removed.  Now, I know I can
select each file and choose delete from the menu, but I'm trying to
get these pushed through automatically.  And, when I 'commit' to the
repository, it lists them as 'deleted', but if I check them to be
included in the commit, I just get an error. How would I go about doing this?

TIA,

Oblio


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



Parent Message unknown Re: new user, questions about deletions

by Oblio Leitch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I guess, specifically, it's only when dealing with deleted directories -- "Entry has no URL".

At 2/21/2006 08:35 PM, you wrote:
What is the error message when you commit? I did this kind of thing before and I don't have problem.

On 2/21/06, Oblio <subscriber@...> wrote:
I'm fairly new to Tortoise & SVN, and I have a question about
managing deletions that occur.  I've got a set of files, v1, and in
the next version, some of those files are removed.  Now, I know I can
select each file and choose delete from the menu, but I'm trying to
get these pushed through automatically.  And, when I 'commit' to the
repository, it lists them as 'deleted', but if I check them to be
included in the commit, I just get an error. How would I go about doing this?

TIA,

Oblio


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


Re: new user, questions about deletions

by Stefan Küng :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Oblio wrote:
> I guess, specifically, it's only when dealing with deleted directories
> -- "Entry has no URL".

When you delete a directory, you *must* commit everything that's shown
in the commit dialog. The reason behind this is that Subversion only can
commit removed directories if you commit recursively - and a recursive
commit means you can't exclude something from it, so you must commit
everything. So just don't deselect any entry in the commit dialog, then
TSVN can do a recursive commit.

Stefan

--
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org

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


Re: new user, questions about deletions

by Oblio Leitch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Well, that's just it - when the file list comes up, the deleted files
aren't checked, the deleted directory is.  I 'select all', and the
whole operation aborts because of the directory.  If I leave the
files checked, and remove the directory, it works fine.  It won't
'commit' a deleted directory.

At 2/22/2006 10:55 AM, you wrote:

>Oblio wrote:
>>I guess, specifically, it's only when dealing with deleted
>>directories -- "Entry has no URL".
>
>When you delete a directory, you *must* commit everything that's
>shown in the commit dialog. The reason behind this is that
>Subversion only can commit removed directories if you commit
>recursively - and a recursive commit means you can't exclude
>something from it, so you must commit everything. So just don't
>deselect any entry in the commit dialog, then TSVN can do a recursive commit.
>
>Stefan
>
>--
>        ___
>   oo  // \\      "De Chelonian Mobile"
>  (_,\/ \_/ \     TortoiseSVN
>    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
>    /_/   \_\     http://tortoisesvn.tigris.org
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@...
>For additional commands, e-mail: users-help@...
>


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


Re: new user, questions about deletions

by Stefan Küng :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Oblio wrote:
> Well, that's just it - when the file list comes up, the deleted files
> aren't checked, the deleted directory is.  I 'select all', and the whole
> operation aborts because of the directory.  If I leave the files
> checked, and remove the directory, it works fine.  It won't 'commit' a
> deleted directory.

That would then be a bug. Can you provide a recipe?

Stefan

--
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org

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


Re: new user, questions about deletions

by Jody Shumaker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

What happens if you just have it select the directory for deletion.
Selecting all the subfiles of the directory seems redundant to me, and
likely is whatis causing the error.

- Jody

On 2/22/06, Oblio <subscriber@...> wrote:

> Well, that's just it - when the file list comes up, the deleted files
> aren't checked, the deleted directory is.  I 'select all', and the
> whole operation aborts because of the directory.  If I leave the
> files checked, and remove the directory, it works fine.  It won't
> 'commit' a deleted directory.
>
> At 2/22/2006 10:55 AM, you wrote:
> >Oblio wrote:
> >>I guess, specifically, it's only when dealing with deleted
> >>directories -- "Entry has no URL".
> >
> >When you delete a directory, you *must* commit everything that's
> >shown in the commit dialog. The reason behind this is that
> >Subversion only can commit removed directories if you commit
> >recursively - and a recursive commit means you can't exclude
> >something from it, so you must commit everything. So just don't
> >deselect any entry in the commit dialog, then TSVN can do a recursive commit.
> >
> >Stefan
> >
> >--
> >        ___
> >   oo  // \\      "De Chelonian Mobile"
> >  (_,\/ \_/ \     TortoiseSVN
> >    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
> >    /_/   \_\     http://tortoisesvn.tigris.org
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: users-unsubscribe@...
> >For additional commands, e-mail: users-help@...
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>

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


Re: new user, questions about deletions

by Oblio Leitch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Um, create a repository on a directory using native file system,
create a sandbox (D:\sandbox) directory & checkout from the
repository.  Put a directory in the sandbox; update (D:\sandbox\New
Folder). Delete the directory (yes to deleting hidden/read only files
from the .svn under that directory) & update (dir of D:\sandbox shows
just the .svn folder).  When I say 'update', I'm doing it on the
'sandbox' directory.  When I do this, I get:

Error: Commit failed (details follow):
Error: Entry for 'D:\sandbox\New Folder' has no URL
Error: Try a "Cleanup". If that doesn't work you need to do a fresh checkout.



At 2/22/2006 11:33 AM, you wrote:
>That would then be a bug. Can you provide a recipe?


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


Re: new user, questions about deletions

by Kevin Greiner-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 2/22/06, Oblio <subscriber@...> wrote:
> Um, create a repository on a directory using native file system,
> create a sandbox (D:\sandbox) directory & checkout from the
> repository.  Put a directory in the sandbox; update (D:\sandbox\New
> Folder).

Are you sure you mean update? Or did you mean commit? I'll assume you
added this new folder using TSVN and meant "commit" but you should
careful to provide better instructions.

> Delete the directory (yes to deleting hidden/read only files
> from the .svn under that directory)

How are you deleting? If you're using Windows Explorer to delete "New
Folder" you need to read the manual again. Start here:
http://tortoisesvn.sourceforge.net/docs/release/TortoiseSVN_en/help-onepage.html#tsvn-DUG-rename

> & update (dir of D:\sandbox shows
> just the .svn folder).  When I say 'update', I'm doing it on the
> 'sandbox' directory.  When I do this, I get:
>
> Error: Commit failed (details follow):
> Error: Entry for 'D:\sandbox\New Folder' has no URL
> Error: Try a "Cleanup". If that doesn't work you need to do a fresh checkout.

Now I'm really confused! You say you're doing update but the error
message says "commit"!

My guess is that you're coming from a CVS background where these terms
have different meanings. If so, try this link:
http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.forcvs and
try again.

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


Re: new user, questions about deletions

by Stefan Küng :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Oblio wrote:
> Well, that's just it - when the file list comes up, the deleted files
> aren't checked, the deleted directory is.  I 'select all', and the whole
> operation aborts because of the directory.  If I leave the files
> checked, and remove the directory, it works fine.  It won't 'commit' a
> deleted directory.

Tried the following:

* checked out my test working copy
* removed the folder 'test' with 'testfile' in it
* modified some files beneath 'test'
* right click on the wc root, choose commit
==> the deleted folder shows up, including the file in it, both marked
as 'deleted'. And *both* are selected.

Also, if I try to deselect the 'testfile', the folder 'test' also gets
unchecked automatically (you can't commit a file deletion inside a
deleted folder without deleting the folder too). The same is if I try to
deselect the folder itself - the file below gets deselected automatically.

And finally, the commit succeeds without problems.

So please, give us a recipe on how to reproduce this problem (and maybe
you should use the latest version of TSVN?)

Stefan

--
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org

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


Parent Message unknown Re: new user, questions about deletions

by Oblio Leitch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Alright, maybe I should get some further help -- I want to be able to delete the file through Windows Explorer.  According to the referenced manual "If a folder is deleted via the explorer instead of using the TortoiseSVN context menu, your working copy will be broken and you will be unable to commit."  How do I do this through a batch file then?  I'm trying to perform an update from a new zipped code bundle, and after unzipping it, I want to find everything that's changed, including any deleted folders.  I can unzip it onto a current branch, but it won't remove anything.  How would I do something like that?

Re: new user, questions about deletions

by Stefan Küng :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Oblio wrote:
> Alright, maybe I should get some further help -- I want to be able to
> delete the file through Windows Explorer.  According to the referenced
> manual "If a /folder/ is deleted via the explorer instead of using the
> TortoiseSVN context menu, your working copy will be broken and you will
> be unable to commit."  How do I do this through a batch file then?  I'm
> trying to perform an update from a new zipped code bundle, and after
> unzipping it, I want to find everything that's changed, including any
> deleted folders.  I can unzip it onto a current branch, but it won't
> remove anything.  How would I do something like that?

Use the command line client to remove the folder:

svn rm path\to\folder

in your batch file.

Stefan

--
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org

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


Re: new user, questions about deletions

by Oblio Leitch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

At 2/22/2006 03:12 PM, you wrote:
>Use the command line client to remove the folder:
>
>svn rm path\to\folder

TortoiseProc?  I don't have a "svn" command.


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


Re: new user, questions about deletions

by Stefan Küng :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Oblio wrote:
> At 2/22/2006 03:12 PM, you wrote:
>> Use the command line client to remove the folder:
>>
>> svn rm path\to\folder
>
> TortoiseProc?  I don't have a "svn" command.

The official Subversion command line client. You have to install it
first (http://subversion.tigris.org).

Stefan

--
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org

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


Re: new user, questions about deletions

by Oblio Leitch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

So you're saying there's no way to point to a directory and say
"update to that including all the deleted files" with Tortoise?

At 2/22/2006 03:31 PM, you wrote:

>Oblio wrote:
>>At 2/22/2006 03:12 PM, you wrote:
>>>Use the command line client to remove the folder:
>>>
>>>svn rm path\to\folder
>>TortoiseProc?  I don't have a "svn" command.
>
>The official Subversion command line client. You have to install it
>first (http://subversion.tigris.org).
>
>Stefan
>
>--
>        ___
>   oo  // \\      "De Chelonian Mobile"
>  (_,\/ \_/ \     TortoiseSVN
>    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
>    /_/   \_\     http://tortoisesvn.tigris.org
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@...
>For additional commands, e-mail: users-help@...
>


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


Re: new user, questions about deletions

by Simon Large-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Oblio wrote:
> Alright, maybe I should get some further help -- I want to be able to
> delete the file through Windows Explorer.  According to the referenced
> manual "If a /folder/ is deleted via the explorer instead of using the
> TortoiseSVN context menu, your working copy will be broken and you will
> be unable to commit."  How do I do this through a batch file then?  I'm
> trying to perform an update from a new zipped code bundle, and after
> unzipping it, I want to find everything that's changed, including any
> deleted folders.  I can unzip it onto a current branch, but it won't
> remove anything.  How would I do something like that?

Sounds like you want to take a look at "Vendor branches" in the
subversion book.

http://svnbook.red-bean.com/en/1.1/ch07s05.html

Simon

--
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org

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


Re: new user, questions about deletions

by Simon Large-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Oblio wrote:

> So you're saying there's no way to point to a directory and say "update
> to that including all the deleted files" with Tortoise?
>
> At 2/22/2006 03:31 PM, you wrote:
>> Oblio wrote:
>>> At 2/22/2006 03:12 PM, you wrote:
>>>> Use the command line client to remove the folder:
>>>>
>>>> svn rm path\to\folder
>>> TortoiseProc?  I don't have a "svn" command.
>>
>> The official Subversion command line client. You have to install it
>> first (http://subversion.tigris.org).

Nonono. You asked for a way to do an svn delete from a batch file and
Stefan told you the answer. If you want a GUI use TortoiseSVN. If you
want the commands scripted use the CLI.

You seem to be terminally confused by the term 'update'. When we refer
to an update we mean pulling the latest changes from the repository into
your working copy. You seem to be talking about dumping the contents of
a zip file on top of your working copy and expecting subversion to sort
out the mess. But take a look at vendor branches. That may do what you need.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and mailing lists?

Simon

--
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org

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


Re: new user, questions about deletions

by Oblio Leitch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Well, vendor branches looks like what I'm doing, but I installed SVN,
and it doesn't appear to come with the svn_load_dirs.pl mentioned in
the book.  Where do I find it?

Oblio


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


Re: new user, questions about deletions

by Stefan Küng :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Oblio wrote:
> Well, vendor branches looks like what I'm doing, but I installed SVN,
> and it doesn't appear to come with the svn_load_dirs.pl mentioned in the
> book.  Where do I find it?

https://svn.collab.net/repos/svn/trunk/contrib/client-side/

Stefan

--
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org

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