Page MenuHomePhabricator

Improve messaging around repository locks
ClosedPublic

Authored by epriestley on Apr 27 2015, 2:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 17, 1:54 PM
Unknown Object (File)
Wed, Apr 17, 6:26 AM
Unknown Object (File)
Thu, Apr 11, 4:54 AM
Unknown Object (File)
Mon, Apr 1, 1:37 PM
Unknown Object (File)
Mon, Apr 1, 1:13 AM
Unknown Object (File)
Sun, Mar 31, 3:23 AM
Unknown Object (File)
Mar 5 2024, 9:26 AM
Unknown Object (File)
Jan 28 2024, 10:57 PM

Details

Summary

Fixes T6958. Ref T7484.

  • When we collide on a lock in bin/repository update, explain what that means.
  • GlobalLock currently uses a "lock name" which is different from the lock's actual name. Don't do this. There's a small chance this fixes T7484, but I don't have high hopes.
Test Plan

Ran bin/repository update X in two windows really fast, got the new message in one of them.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Improve messaging around repository locks.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Apr 27 2015, 5:18 PM

I tried to review this from mobile earlier in the AM, but I couldn't seem to navigate the symbol PhutilLock (which I needed to check out to make sure this getName() stuff was kosher).

I think I just have large, clumsy thumbs, but just tossing it out there.

There's some weird code with symbols because we try to wait for a second and see if you're double clicking to select. I'll file an issue, pretty sure it's a real bug related to that. Fix is probably to be smarter about 'touch' events always meaning 'click the symbol'.

This revision was automatically updated to reflect the committed changes.