You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Failed to resolve conflicts: Only conflicts that involve normal files (not symlinks, not executable, etc.) are supported. Conflict summary for "foobar":
Conflict:
Removing executable file with id e80f6f12e211b26ea895ee714a42792fc2629c9a
Adding executable file with id 4aeaee0c9c39937dc96e3f67f3c597a9803938ef
Adding executable file with id 2e8e7acb76c93096f23358d06d0b9fb9c6124c22
Which hints that the solution has to do with the executable bit, but not how to change it in a way that jj can understand. The first tool users will probably reach for is chmod, but that doesn't work (because it doesn't touch the mtime..?), making this problem extra-frustrating.
The correct answer is to jj chmod the file, but the discoverability feels low. We should call out jj chmod, and ideally, give the appropriate <mode> argument that makes jj.
The text was updated successfully, but these errors were encountered:
Makes sense. There's also #1279 about not even considering most cases conflicts. In your case above, for example, the result should be an executable file (it was executable before and it was still executable afterwards on both sides of the conflict).
Currently,
jj resolve
outputs something like:Which hints that the solution has to do with the executable bit, but not how to change it in a way that
jj
can understand. The first tool users will probably reach for ischmod
, but that doesn't work (because it doesn't touch the mtime..?), making this problem extra-frustrating.The correct answer is to
jj chmod
the file, but the discoverability feels low. We should call outjj chmod
, and ideally, give the appropriate<mode>
argument that makesjj
.The text was updated successfully, but these errors were encountered: