You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Anders Eriksson <an...@gmail.com> on 2008/12/04 13:16:06 UTC

Revert deletion of directory

Hell

I'm using TortoiseSVN 1.5.5, Build 14361 - 32 Bit , 2008/10/24 18:06:34
 I have a project that I have several revisions of. In one of the revisions
someone has deleted a directory from this project.

In my Working copy this directory and its files exist, but I can't commit
them. I get an error saying:

> SharpSvn.SvnFileSyst​emException: Commit failed (details follow): --->
> SharpSvn.SvnFileSyst​emException: Filen finns inte: transaktion "36-1",
> sökväg "/SCMLaser2.2/VcClie​nt/LaserApp.cpp"

I found the translation for the error in english: "File not found:
transaction '%s', path '%s'" (SVN_ERR_FS_NOT_FOUND).

I have checked out the HEAD to an empty directory and then tried to Merge a
range of revisions, selecting the revision that contains the delition of
the directory.

I got this error message:

Command: Merging revisions 35-34 of svn://ostling.selfip​.com/SCMLaser2.2
into C:\Documents and Settings\ame\My Documents\Visual Studio
2005\Projects\SCMLaser2.2, respecting ancestry, Test Only
Skipped: C:\Documents and Settings\ame\My Documents\Visual Studio
2005\Projects\SCML​aser2.2\VcClient
Skipped missing target: C:\Documents and Settings\ame\My Documents\Visual
Studio 2005\Projects\SCML​aser2.2\VcClient\V​cClientView.cpp

...
It's a list with every file that was in the VcClient Directory. All have
been skipped!

What have I done wrong and how do I fix this?

// Anders
// Anders
--
English is not my first, or second, language
so anything strange, or insulting, is due to
the translation.
Please correct me so I may improve my English!

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=979601

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Revert deletion of directory

Posted by Bogdan Cristea <cr...@gmail.com>.
On Thursday 04 December 2008 15:16:06 you wrote:
> I'm using TortoiseSVN 1.5.5, Build 14361 - 32 Bit , 2008/10/24 18:06:34
>  I have a project that I have several revisions of. In one of the revisions
> someone has deleted a directory from this project.
>
> In my Working copy this directory and its files exist, but I can't commit
> them.

Try to update your working copy, then to commit.

You should be careful, because you could lose your local changes. Save your 
files into another place and after update, copy again your files in your 
working copy.

--

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=979603

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Revert deletion of directory

Posted by Anders Eriksson <an...@gmail.com>.
Hello Bob,


On Thu, 4 Dec 2008 09:53:22 -0500, in
gmane.comp.version-control.subversion.user Bob Archer wrote:

> It would probably just be easier to go into the repo browser... set to
> the last revision where the folder existed, and then do a copy to.. to
> bring it back to trunk. This will also retain the history of your folder
> and all your changes. 
> 
> Check the Tortoise help topic 5.14.1. Deleting files and folders 
> 
I tried this and with a little fiddle I got it to work!
It was not possible to copy the VcClient directory from version 34 to the
HEAD without changing its name (or it's possible but I don't know how). So
I copied the directory to VcClient1 at the HEAD and then renamed it to
VcClient.

No I have all of my files in the project and it's possible to commit and to
update and ...

Thank you very much for you help!

// Anders
-- 
English is not my first, or second, language
so anything strange, or insulting, is due to
the translation.
Please correct me so I may improve my English!

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=980706

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: Revert deletion of directory

Posted by Bob Archer <Bo...@amsi.com>.
It would probably just be easier to go into the repo browser... set to the last revision where the folder existed, and then do a copy to.. to bring it back to trunk. This will also retain the history of your folder and all your changes.

Check the Tortoise help topic 5.14.1. Deleting files and folders

BOb


-----Original Message-----
From: Anders Eriksson [mailto:andis59@gmail.com] 
Sent: Thursday, December 04, 2008 8:16 AM
To: users@subversion.tigris.org
Subject: Revert deletion of directory

Hell

I'm using TortoiseSVN 1.5.5, Build 14361 - 32 Bit , 2008/10/24 18:06:34
 I have a project that I have several revisions of. In one of the revisions
someone has deleted a directory from this project.

In my Working copy this directory and its files exist, but I can't commit
them. I get an error saying:

> SharpSvn.SvnFileSyst​emException: Commit failed (details follow): --->
> SharpSvn.SvnFileSyst​emException: Filen finns inte: transaktion "36-1",
> sökväg "/SCMLaser2.2/VcClie​nt/LaserApp.cpp"

I found the translation for the error in english: "File not found:
transaction '%s', path '%s'" (SVN_ERR_FS_NOT_FOUND).

I have checked out the HEAD to an empty directory and then tried to Merge a
range of revisions, selecting the revision that contains the delition of
the directory.

I got this error message:

Command: Merging revisions 35-34 of svn://ostling.selfip​.com/SCMLaser2.2
into C:\Documents and Settings\ame\My Documents\Visual Studio
2005\Projects\SCMLaser2.2, respecting ancestry, Test Only
Skipped: C:\Documents and Settings\ame\My Documents\Visual Studio
2005\Projects\SCML​aser2.2\VcClient
Skipped missing target: C:\Documents and Settings\ame\My Documents\Visual
Studio 2005\Projects\SCML​aser2.2\VcClient\V​cClientView.cpp

...
It's a list with every file that was in the VcClient Directory. All have
been skipped!

What have I done wrong and how do I fix this?

// Anders
// Anders
--
English is not my first, or second, language
so anything strange, or insulting, is due to
the translation.
Please correct me so I may improve my English!

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=979601

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=979649

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].