Accidentally deleted some source. Get history back?

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
sherware
Posts: 14
Joined: Tue Dec 16, 2008 9:50 am

Accidentally deleted some source. Get history back?

Post by sherware » Fri Feb 10, 2017 9:44 am

I accidentally deleted some source I didn't want too when I was cleaning up my repository. I was able to easily add the current code back to the respository but I lost all the history. Is there any way to get that history back?

Thanks!
Phil

jclausius
Posts: 3702
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Re: Accidentally deleted some source. Get history back?

Post by jclausius » Fri Feb 10, 2017 10:22 am

If you deleted the files, you can recover them with full history. BTW, and Add will create a new object, with a single point of history.

From the GUI client, look at the Properties of the 'owner' folders. There is a 'Deleted Items' tab, from there you can undelete any previously deleted files. However, you'll need to make sure there are no naming conflicts upon recovering the files.
Jeff Clausius
SourceGear

sherware
Posts: 14
Joined: Tue Dec 16, 2008 9:50 am

Re: Accidentally deleted some source. Get history back?

Post by sherware » Mon Feb 13, 2017 3:13 pm

I'm using the version 7.2.1 gui client. I don't see the 'owner' folders. Where would I find that?

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Accidentally deleted some source. Get history back?

Post by Beth » Mon Feb 13, 2017 3:50 pm

Right-click the folder that held the file that was deleted.
Beth Kieler
SourceGear Technical Support

sherware
Posts: 14
Joined: Tue Dec 16, 2008 9:50 am

Re: Accidentally deleted some source. Get history back?

Post by sherware » Mon Feb 13, 2017 4:00 pm

What if I've already added them back from a copy I had? Do I need to delete it again and then restore to get the history?

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Accidentally deleted some source. Get history back?

Post by Beth » Mon Feb 13, 2017 4:40 pm

Yes. It's not possible to merge the two. You could either delete the added one, or you could rename it.
Beth Kieler
SourceGear Technical Support

sherware
Posts: 14
Joined: Tue Dec 16, 2008 9:50 am

Re: Accidentally deleted some source. Get history back?

Post by sherware » Mon Feb 13, 2017 6:25 pm

Thanks. I'll give it a try.

Post Reply