summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-01-29 18:47:09 +0000
committerZac Medico <zmedico@gentoo.org>2010-01-29 18:47:09 +0000
commit1c87a1062b500fc6565a9572348fe3ee9c2fc24e (patch)
treef5bb10d76bebb815cd60405594bc1b01ed9bd924 /bin
parentd5f24eae990645d11d2ae90e2426261aad666744 (diff)
downloadportage-1c87a1062b500fc6565a9572348fe3ee9c2fc24e.tar.gz
portage-1c87a1062b500fc6565a9572348fe3ee9c2fc24e.tar.bz2
portage-1c87a1062b500fc6565a9572348fe3ee9c2fc24e.zip
only return status for the current directory (or the directory being asked for), instead of the whole tree
(trunk r15188) svn path=/main/branches/2.1.7/; revision=15244
Diffstat (limited to 'bin')
-rwxr-xr-xbin/repoman6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/repoman b/bin/repoman
index 854f742fe..7778447d5 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -928,7 +928,7 @@ elif vcs == "git":
if elem[:repo_subdir_len] == repo_subdir]
mynew = ["./" + elem[:-1] for elem in mynew]
elif vcs == "bzr":
- bzrstatus = os.popen("bzr status -S").readlines()
+ bzrstatus = os.popen("bzr status -S .").readlines()
mychanged = [ "./" + elem.split()[-1:][0].split('/')[-1:][0] for elem in bzrstatus if elem and elem[1:2] == "M" ]
mynew = [ "./" + elem.split()[-1:][0].split('/')[-1:][0] for elem in bzrstatus if elem and ( elem[1:2] == "NK" or elem[0:1] == "R" ) ]
@@ -1970,7 +1970,7 @@ else:
myf.close()
if vcs == "bzr":
try:
- bzrstatus=os.popen("bzr status -S").readlines()
+ 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
@@ -2076,7 +2076,7 @@ else:
myremoved = ["./" + elem[:-1] for elem in myremoved]
if vcs == "bzr":
- bzrstatus = os.popen("bzr status -S").readlines()
+ bzrstatus = os.popen("bzr status -S .").readlines()
mychanged = [ "./" + elem.split()[-1:][0].split('/')[-1:][0] for elem in bzrstatus if elem and elem[1:2] == "M" ]
mynew = [ "./" + elem.split()[-1:][0].split('/')[-1:][0] for elem in bzrstatus if elem and ( elem[1:2] in "NK" or elem[0:1] == "R" ) ]
myremoved = [ "./" + elem.split()[-1:][0].split('/')[-1:][0] for elem in bzrstatus if elem.startswith("-") ]