Re: stgit - continue rebase after merge conflict?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 28/02/2008, Alex Chiang <achiang@xxxxxx> wrote:
> * Catalin Marinas <catalin.marinas@xxxxxxxxx>:
>
> > On 26/02/2008, Alex Chiang <achiang@xxxxxx> wrote:
>  > >  How does one do a stg rebase if there are merge conflicts?
>  >
>  > Basically, you solve the conflict, refresh the current patch and
>  > continue with 'stg push' or 'stg goto <top patch>'. The 'rebase'
>  > command does 'pop --all', 'git reset', 'push --all'. In your conflict,
>  > the base of the stack was already changed to the latest and hence only
>  > push/goto is needed. To fix it:
>  >
>  > $ vi files   # or simply use 'resolved -i' below
>  > $ stg resolved -a [-i]
>  > $ stg refresh
>  > $ stg goto top-patch
>
>
> That goto command doesn't tell you about merge conflicts:
[...]
>  achiang@blender:~/kernels/linux-2.6$ stg goto 0004-ACPI-PCI-slot-detection-driver.patch
>  Pushed 0003-Introduce-pci_slot.patch (conflict)
>  Error: Merge conflict
>  Now at patch "0003-Introduce-pci_slot.patch"

It says that it's a merge conflict but isn't more precise than that.
You can run 'stg status' to check the conflicts.

The reason is that you are probably using the development branch of
StGIT and we (actually Karl) are refactoring the GIT objects handling.
The 'goto' command (but not 'push') was moved to the new
infrastructure but missed some of the UI stuff. They'll be added back.

I could use the stable branch until we sort out these issues.

-- 
Catalin
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux