From 8df88d77d361e4e4f82f8ebea4ffcde8791ea72f Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Sun, 10 Jan 2010 16:53:00 +0000 Subject: [PATCH] only return status for the current directory (or the directory being asked for), instead of the whole tree svn path=/main/trunk/; revision=15188 --- bin/repoman | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/repoman b/bin/repoman index d835387a5..679dcae61 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("-") ] -- 2.26.2