mistakes

Is there any way "svn unrevert"?

Ack! I just mistakenly ran "svn revert somefile" with the wrong filename pasted in. Now my nicely modified file is gone! I'd like a "svn unrevert" command. AFIK there's no such thing. What is the next best way out of this mess? ...

[closed/typo debugged, thanks :)] PHP global, nested/inherited autoload.

PHP 5.3.3-pl1-gentoo (cli) (built: Aug 17 2010 18:37:41) Hi all, I use a simple autoloader in my project's main file (index.php): require_once("./config.php"); require_once("./app.php"); require_once("./../shared/SqlTool.php"); function __autoload($className) { $fn = 'file-not-exists-for-{$className}'; if (file_exists("....

Most Common Mistake done/seen in C++

Possible Duplicate: What C++ pitfalls should I avoid ? What is the most common mistake in C/C++programming that you keep committing or see most of the people do? Being aware of it atleast subconsciously will increase my or anyone's chances of committing it. ...