Skip to content

Commit 136120d

Browse files
committed
nix: Make --pr-only obey --upstream-branch
Signed-off-by: Michal Sojka <michal.sojka@cvut.cz>
1 parent 924c596 commit 136120d

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

  • superflore/generators/nix

superflore/generators/nix/run.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,11 @@ def main():
5959
if not args.output_repository_path:
6060
parser.error('Invalid args! no repository specified')
6161
try:
62-
prev_overlay = NixRosOverlay(args.output_repository_path, False)
62+
prev_overlay = NixRosOverlay(
63+
args.output_repository_path,
64+
False,
65+
from_branch=args.upstream_branch,
66+
)
6367
msg, title = load_pr()
6468
prev_overlay.pull_request(msg, title=title)
6569
clean_up()

0 commit comments

Comments
 (0)