Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] Dealing with corrupt .ptp-sync

Hi Jeff

I think this is a good idea - perhaps some sort of repair mechanism to rebuild the repository.
How to decide which files are correct (local or remote) would be the key question, I think.
This decision could either be made by the user or could be done automatically (or some
combination). I'll definitely give it some thought.


Thanks and have a great weekend!
John
 
On May 25, 2012, at 5:42 PM, Jeffrey Overbey wrote:

> Hi John,
> 
> Synchronized projects have been working well for me (and I like the filter dialog, by the way!), although I've occasionally run into some bizarre and unreproducible errors.  However, I just realized that they mostly happen after I have force-killed Eclipse (e.g., during debugging when hot code replacement fails, or when the UI hangs, or it runs out of memory, or whatever).  I would guess that my synchronized projects are synchronizing in the background, and I'm basically killing git in the middle of a sync, corrupting the .ptp-sync repository.
> 
> I need to make an effort to stop doing that :) but I'm just curious... how would you feel about adding a command to the UI like "replace remote copy with local" which basically recreates the remote code and .ptp-sync repo from the local sources (or vice versa)?
> 
> I ask because a couple of our users at NCSA have managed to corrupt their .ptp-sync repos too, on occasion, and it would be nice to have a way to fix that from within Eclipse.  I would imagine most of the code to do that is already in the project conversion wizard... (?)
> 
> I don't want to add anything else to your to-do list :-) but I thought I'd ask, maybe for post-Juno consideration...
> 
> Thanks!  Have a good weekend.
> 
> Jeff
> _______________________________________________
> ptp-dev mailing list
> ptp-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ptp-dev



Back to the top