mjzffr / version-control-tools

Mirror of https://hg.mozilla.org/hgcustom/version-control-tools
0 stars 1 forks source link

Downstreaming doesn't work in a bare checkout #1

Closed jgraham closed 7 years ago

jgraham commented 7 years ago

The git_gecko and git_wptobjects are set up to point at bare checkouts, with the assumption that we would use semi-persistent worktrees for all actual git operations. The downstreaming code assumes that it can do working tree operations on the paths passed in which at the moment are the bare repos. We should probably change this to create a worktree for each PR we downstream, since this will also provide a convenient place to store logfiles from try &c.

mjzffr commented 7 years ago

Done in 01b7c868