Fix some typos and improve a message in repoman.
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>
Sat, 23 Oct 2010 16:51:34 +0000 (18:51 +0200)
committerZac Medico <zmedico@gentoo.org>
Wed, 27 Oct 2010 14:34:55 +0000 (07:34 -0700)
bin/repoman
pym/portage/process.py

index bdf6444ed2c98f6080c3f3c8ffabba90894a7b0d..5e3774321fed6fc2e861857b2f5666b0fe58d28a 100755 (executable)
@@ -615,7 +615,7 @@ repolevel = len(reposplit)
 if options.mode == 'commit' and repolevel not in [1,2,3]:
        print(red("***")+" Commit attempts *must* be from within a vcs co, category, or package directory.")
        print(red("***")+" Attempting to commit from a packages files directory will be blocked for instance.")
-       print(red("***")+" This is intended behaviour, to ensure the manifest is recommited for a package.")
+       print(red("***")+" This is intended behaviour, to ensure the manifest is recommitted for a package.")
        print(red("***"))
        err("Unable to identify level we're commiting from for %s" % '/'.join(reposplit))
 
@@ -2041,7 +2041,7 @@ else:
                        myvcstree=portage.cvstree.getentries("./",recursive=1)
                        myunadded=portage.cvstree.findunadded(myvcstree,recursive=1,basedir="./")
                except SystemExit as e:
-                       raise  # TODO propogate this
+                       raise  # TODO propagate this
                except:
                        err("Error retrieving CVS tree; exiting.")
        if vcs == "svn":
@@ -2049,7 +2049,7 @@ else:
                        svnstatus=os.popen("svn status --no-ignore").readlines()
                        myunadded = [ "./"+elem.rstrip().split()[1] for elem in svnstatus if elem.startswith("?") or elem.startswith("I") ]
                except SystemExit as e:
-                       raise  # TODO propogate this
+                       raise  # TODO propagate this
                except:
                        err("Error retrieving SVN info; exiting.")
        if vcs == "git":
@@ -2062,7 +2062,7 @@ else:
                        bzrstatus=os.popen("bzr status -S .").readlines()
                        myunadded = [ "./"+elem.rstrip().split()[1].split('/')[-1:][0] for elem in bzrstatus if elem.startswith("?") or elem[0:2] == " D" ]
                except SystemExit as e:
-                       raise  # TODO propogate this
+                       raise  # TODO propagate this
                except:
                        err("Error retrieving bzr info; exiting.")
        if vcs == "hg":
@@ -2253,8 +2253,7 @@ else:
                                myheaders.append(myfile)
 
                print("%s have headers that will change." % green(str(len(myheaders))))
-               print("* Files with headers will cause the " + \
-                       "manifests to be made and recommited.")
+               print("* Files with headers will cause the manifests to be changed and committed separately.")
 
        logging.info("myupdates: %s", myupdates)
        logging.info("myheaders: %s", myheaders)
index e4d1d9523e0d05fb646957851630e57db80da156..3809ed8a05fc6e2788ea65a0c29da81e004cc623 100644 (file)
@@ -209,7 +209,7 @@ def spawn(mycommand, env={}, opt_name=None, fd_pipes=None, returnpid=False,
                        raise CommandNotFound(mycommand[0])
 
        # If we haven't been told what file descriptors to use
-       # default to propogating our stdin, stdout and stderr.
+       # default to propagating our stdin, stdout and stderr.
        if fd_pipes is None:
                fd_pipes = {
                        0:sys.stdin.fileno(),
@@ -252,7 +252,7 @@ def spawn(mycommand, env={}, opt_name=None, fd_pipes=None, returnpid=False,
                        raise
                except Exception as e:
                        # We need to catch _any_ exception so that it doesn't
-                       # propogate out of this function and cause exiting
+                       # propagate out of this function and cause exiting
                        # with anything other than os._exit()
                        sys.stderr.write("%s:\n   %s\n" % (e, " ".join(mycommand)))
                        traceback.print_exc()