Uploaded image for project: 'Skara'
  1. Skara
  2. SKARA-759

pr create appears to assume target branch is the repo default

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • None
    • cli
    • None

      So attempting to use "git pr create --publish --jcheck" on a branch derived from the default branch resulted in:

      error: no difference between branches lworld and type-restrictions_merge_16_19
             Cannot create an empty pull request, have you committed?

      Where the target branch should be "type-restrictions", and specifying the target with "--branch" option is a valid work-around.

      Would it better to use the "PR branch" "base branch" as the default target ? Assuming this is possible to determine cheaply ?

            dsimms David Simms
            dsimms David Simms
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: