reset password
Author Message
misha.chandan
Posts: 27
Posted 15:02 Mar 14, 2015 |

Hello Dr. Sun,

I have SVN diff file for some project. I lost my updated code for that project. The worse thing is I didn't either kept code's copy or commit. 

My question : 

1) Can I recover my code based on diff ? I think I can't but would be great if I can. I don't want to go and update all files manually. 

Regard,

Misha

misha.chandan
Posts: 27
Posted 15:16 Mar 14, 2015 |

I don't have local history too.

cysun
Posts: 2935
Posted 19:31 Mar 14, 2015 |

Go to project folder and run

svn patch /path/to/diff-file

 

misha.chandan
Posts: 27
Posted 13:57 Mar 15, 2015 |

Thank  you.