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)
committerArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>
Sat, 23 Oct 2010 16:51:34 +0000 (18:51 +0200)
bin/repoman
pym/portage/process.py

index d9b0d346403a28556f013bd0e6a62345cf3ee1cd..7cd0fc472f0c5bde24896d40c440c096e798678a 100755 (executable)
@@ -618,7 +618,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))
 
@@ -2044,7 +2044,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":
@@ -2052,7 +2052,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":
@@ -2065,7 +2065,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":
@@ -2256,8 +2256,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()