Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Updated compilemessages and makemessages management commands to chang…

…e SVN->Git references
  • Loading branch information...
commit 21f11e5280696560dbd98b7acd54b762e095d810 1 parent 8df8e51
Adrian Holovaty authored April 27, 2012
2  django/core/management/commands/compilemessages.py
@@ -21,7 +21,7 @@ def compile_messages(stderr, locale=None):
21 21
     basedirs = set(map(os.path.abspath, filter(os.path.isdir, basedirs)))
22 22
 
23 23
     if not basedirs:
24  
-        raise CommandError("This script should be run from the Django SVN tree or your project or app tree, or with the settings module specified.")
  24
+        raise CommandError("This script should be run from the Django Git checkout or your project or app tree, or with the settings module specified.")
25 25
 
26 26
     for basedir in basedirs:
27 27
         if locale:
6  django/core/management/commands/makemessages.py
@@ -264,7 +264,7 @@ def make_messages(locale=None, domain='django', verbosity=1, all=False,
264 264
         extensions=None, symlinks=False, ignore_patterns=None, no_wrap=False,
265 265
         no_location=False, no_obsolete=False, stdout=sys.stdout):
266 266
     """
267  
-    Uses the ``locale/`` directory from the Django SVN tree or an
  267
+    Uses the ``locale/`` directory from the Django Git tree or an
268 268
     application/project to process all files with translatable literals for
269 269
     the :param domain: domain and :param locale: locale.
270 270
     """
@@ -287,9 +287,9 @@ def make_messages(locale=None, domain='django', verbosity=1, all=False,
287 287
     elif os.path.isdir('locale'):
288 288
         localedir = os.path.abspath('locale')
289 289
     else:
290  
-        raise CommandError("This script should be run from the Django SVN "
  290
+        raise CommandError("This script should be run from the Django Git "
291 291
                 "tree or your project or app tree. If you did indeed run it "
292  
-                "from the SVN checkout or your project or application, "
  292
+                "from the Git checkout or your project or application, "
293 293
                 "maybe you are just missing the conf/locale (in the django "
294 294
                 "tree) or locale (for project and application) directory? It "
295 295
                 "is not created automatically, you have to create it by hand "

0 notes on commit 21f11e5

Please sign in to comment.
Something went wrong with that request. Please try again.