|
View:
New views
19 Messages
—
Rating Filter:
Alert me
|
|
|
|
|
|
Re: new user, questions about deletionsWhat 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 |
|
|
|
|
|
Re: new user, questions about deletionsOblio 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 deletionsWell, 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 deletionsOblio 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 deletionsWhat 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 deletionsUm, 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 deletionsOn 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 deletionsOblio 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@... |
|
|
|
|
|
Re: new user, questions about deletionsOblio 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 deletionsAt 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 deletionsOblio 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 deletionsSo 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 deletionsOblio 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 deletionsOblio 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 deletionsWell, 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 deletionsOblio 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@... |
| Free embeddable forum powered by Nabble | Forum Help |