[mirrorbrain-commits] r8047 - /trunk/mirrordoctor/mirrordoctor.py

From: <poeml_at_mirrorbrain.org>
Date: Wed, 05 May 2010 16:12:50 -0000
Author: poeml
Date: Wed May  5 18:12:50 2010
New Revision: 8047

URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=8047&view=rev
Log:
mb export --format vcs:
- An error message for non-existing target directory has been fixed.

Modified:
    trunk/mirrordoctor/mirrordoctor.py

Modified: trunk/mirrordoctor/mirrordoctor.py
URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/mirrordoctor/mirrordoctor.py?rev=8047&r1=8046&r2=8047&view=diff
==============================================================================
--- trunk/mirrordoctor/mirrordoctor.py (original)
+++ trunk/mirrordoctor/mirrordoctor.py Wed May  5 18:12:50 2010
_at_@ -1490,7 +1490,7 @@
                 os.makedirs(opts.target_dir, 0750)
             os.chdir(opts.target_dir)
             if not os.path.isdir('.svn'):
-                sys.exit('%r doesn\'t seem to be a Subversion working copy')
+                sys.exit('%r doesn\'t seem to be a Subversion working copy' % opts.target_dir)
             for i in os.listdir('.'):
                 if i.startswith('.'): continue
                 os.unlink(i)




_______________________________________________
mirrorbrain-commits mailing list
Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/

Note: To remove yourself from this list, send a mail with the content
 	unsubscribe
to the address mirrorbrain-commits-request_at_mirrorbrain.org
Received on Wed May 05 2010 - 16:12:51 GMT

This archive was generated by hypermail 2.3.0 : Mon Feb 20 2012 - 23:47:04 GMT