This has been fixed in master and cherry-picked into stable (as rPc0a52201). You should be able to update to pick up the fix.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Oct 13 2015
Unfortunately, no part of that sounds well-aligned with our thinking about the roles for these applications or our roadmap for the products. If your development workflow routinely has changes which are too large for Differential to reasonably accommodate (20K+ lines?), it is far outside of my experience in software development and Phabricator is probably not a good tool to use for this workflow.
The upstream only provides support for self-install (by our installation guide) or through our hosting service, Phacility. If you use packaged installers or some other hosting provider, you'll have to contact them for support. We just don't have insight into how they package/modify/maintain Phabricator.
I'm using a hosting service, where you can run phabricator at virtual machines, because this service allow free hosting for 1-5 users. I use this, because I'm working as an volunteer, and don't want to pay money for this, but need a software to organize, and phabricator is ideal. (It is not very comfortably, there is only an old version of phabricator).
We're currently having a close look at Phabricator as an all-round development platform. Much of it fits our needs very well indeed, barring the code review workflow. Before I delve into what I'm envisaging, a little background...
I'm seeing this same problem if a single user is a member of two projects. That user can only accept the audit for one of the projects leaving it in this state.
Not sure if any of this is relevant to T8297, but everyone loves walls of text!
I think that change is tentatively within the realm of reason, but I have some concerns.
The other exception I noted in my previous comment might be unrelated - still investigating what's causing it.
After fixing my .hgrc to allow for default merge behavior, and the landing continues past the squashing, I got this exception:
| 1 | cspeckrun@specktop ~/P/n/hgtest> arc land test --trace |
|---|---|
| 2 | libphutil loaded from '/Users/cspeckrun/Projects/phacility/libphutil/src'. |
| 3 | arcanist loaded from '/Users/cspeckrun/Projects/phacility/arcanist/src'. |
| 4 | Config: Reading user configuration file "/Users/cspeckrun/.arcrc"... |
| 5 | Config: Did not find system configuration at "/etc/arcconfig". |
| 6 | Working Copy: Reading .arcconfig from "/Users/cspeckrun/Projects/neandrake/hgtest/.arcconfig". |
| 7 | Working Copy: Path "/Users/cspeckrun/Projects/neandrake/hgtest" is part of `hg` working copy "/Users/cspeckrun/Projects/neandrake/hgtest". |
| 8 | Working Copy: Project root is at "/Users/cspeckrun/Projects/neandrake/hgtest". |
| 9 | Config: Did not find local configuration at "/Users/cspeckrun/Projects/neandrake/hgtest/.hg/arc/config". |
| 10 | >>> [0] <conduit> user.whoami() <bytes = 117> |
| 11 | >>> [1] <http> http://192.168.0.133/api/user.whoami |
| 12 | <<< [1] <http> 114,236 us |
| 13 | <<< [0] <conduit> 114,780 us |
| 14 | >>> [2] <exec> $ HGPLAIN=1 hg bookmarks |
| 15 | <<< [2] <exec> 96,922 us |
| 16 | >>> [3] <exec> $ HGPLAIN=1 hg bookmarks |
| 17 | <<< [3] <exec> 106,534 us |
| 18 | >>> [4] <exec> $ HGPLAIN=1 hg bookmarks |
| 19 | <<< [4] <exec> 112,179 us |
| 20 | >>> [5] <exec> $ HGPLAIN=1 hg help rebase |
| 21 | <<< [5] <exec> 118,990 us |
| 22 | >>> [6] <exec> $ HGPLAIN=1 hg status |
| 23 | <<< [6] <exec> 134,823 us |
| 24 | Updating master... |
| 25 | >>> [7] <exec> $ HGPLAIN=1 hg pull |
| 26 | <<< [7] <exec> 2,007,539 us |
| 27 | >>> [8] <exec> $ HGPLAIN=1 hg branch |
| 28 | <<< [8] <exec> 97,104 us |
| 29 | >>> [9] <exec> $ HGPLAIN=1 hg help phase |
| 30 | <<< [9] <exec> 104,958 us |
| 31 | >>> [10] <exec> $ HGPLAIN=1 hg log -r 'master' --template '{phase}' |
| 32 | <<< [10] <exec> 108,314 us |
| 33 | >>> [11] <exec> $ HGPLAIN=1 hg log -l 1 --template '{node}' -r 'ancestor('\''master'\'','\''test'\'')' -- |
| 34 | <<< [11] <exec> 107,554 us |
| 35 | >>> [12] <exec> $ HGPLAIN=1 hg log -r 'reverse(('\''d721d5b57fc9ef72e47ff9d4e0c583d74a46590c'\''::'\''test'\'') - '\''d721d5b57fc9ef72e47ff9d4e0c583d74a46590c'\'')' --template '{node|short} {desc|firstline}\n' |
| 36 | <<< [12] <exec> 106,848 us |
| 37 | The following commit(s) will be landed: |
| 38 | |
| 39 | 945ead78d871 addfile |
| 40 | 364c8f96f85c more mods |
| 41 | 35f26c87dd0f creating a branch |
| 42 | 2ae07ac41111 modifying readme for COLLISIONS |
| 43 | 16a239549c36 creating a branch |
| 44 | |
| 45 | >>> [13] <exec> $ HGPLAIN=1 hg bookmarks |
| 46 | <<< [13] <exec> 103,020 us |
| 47 | Switched to bookmark test. Identifying and merging... |
| 48 | >>> [14] <exec> $ HGPLAIN=1 hg log -l 1 --template '{node}' -r 'ancestor('\''master'\'',.)' -- |
| 49 | <<< [14] <exec> 116,019 us |
| 50 | >>> [15] <exec> $ HGPLAIN=1 hg log --template '{node}{desc}' --rev '('\''d721d5b57fc9ef72e47ff9d4e0c583d74a46590c'\''::. - '\''d721d5b57fc9ef72e47ff9d4e0c583d74a46590c'\'')' --branch 'default' -- |
| 51 | <<< [15] <exec> 109,840 us |
| 52 | >>> [16] <conduit> differential.query() <bytes = 139> |
| 53 | >>> [17] <http> http://192.168.0.133/api/differential.query |
| 54 | <<< [17] <http> 135,782 us |
| 55 | <<< [16] <conduit> 136,002 us |
| 56 | |
| 57 | |
| 58 | Revision 'D1: creating a branch' has not been accepted. Continue anyway? |
| 59 | [y/N] y |
| 60 | |
| 61 | >>> [18] <conduit> differential.getcommitmessage() <bytes = 147> |
| 62 | >>> [19] <http> http://192.168.0.133/api/differential.getcommitmessage |
| 63 | <<< [19] <http> 129,463 us |
| 64 | <<< [18] <conduit> 129,780 us |
| 65 | Landing revision 'D1: creating a branch'... |
| 66 | >>> [20] <conduit> harbormaster.querybuildables() <bytes = 218> |
| 67 | >>> [21] <http> http://192.168.0.133/api/harbormaster.querybuildables |
| 68 | <<< [21] <http> 126,710 us |
| 69 | <<< [20] <conduit> 126,976 us |
| 70 | BUILDS PASSED Harbormaster builds for the active diff completed successfully. |
| 71 | >>> [22] <exec> $ HGPLAIN=1 hg log -l 1 --template '{node}' -r 'master' -- |
| 72 | <<< [22] <exec> 109,714 us |
| 73 | >>> [23] <exec> $ HGPLAIN=1 hg log -l 1 --template '{node}' -r 'ancestor('\''master'\'', '\''test'\'')' -- |
| 74 | <<< [23] <exec> 117,455 us |
| 75 | >>> [24] <exec> $ HGPLAIN=1 hg log -l 1 --template '{node}' -r 'test' -- |
| 76 | <<< [24] <exec> 119,290 us |
| 77 | >>> [25] <exec> $ HGPLAIN=1 hg log -l 1 --template '{node}' -r 'first(('\''master'\''::'\''test'\'')-'\''master'\'')' -- |
| 78 | <<< [25] <exec> 117,949 us |
| 79 | >>> [26] <exec> $ HGPLAIN=1 hg log --template '{node}\n' -r 'roots(descendants('\''16a239549c36d491544e6e8703fb72e0d0e8fdbc'\'')-descendants('\''test'\'')-('\''16a239549c36d491544e6e8703fb72e0d0e8fdbc'\''::'\''test'\''))' |
| 80 | <<< [26] <exec> 117,646 us |
| 81 | >>> [27] <exec> $ HGPLAIN=1 hg rebase --collapse --keep --logfile '/private/var/folders/tr/c72q6hn50_z_0js71p2gdy400000gq/T/evd1r79kjq8ks80o/16313-azEq0E' -r '('\''16a239549c36d491544e6e8703fb72e0d0e8fdbc'\''::'\''test'\'')' -d 'master' |
| 82 | rebasing 37:16a239549c36 "creating a branch" |
| 83 | note: rebase of 37:16a239549c36 created no changes to commit |
| 84 | rebasing 38:2ae07ac41111 "modifying readme for COLLISIONS" |
| 85 | note: rebase of 38:2ae07ac41111 created no changes to commit |
| 86 | rebasing 39:35f26c87dd0f "creating a branch" |
| 87 | note: rebase of 39:35f26c87dd0f created no changes to commit |
| 88 | rebasing 40:364c8f96f85c "more mods" |
| 89 | merging README |
| 90 | note: rebase of 40:364c8f96f85c created no changes to commit |
| 91 | rebasing 41:945ead78d871 "addfile" (tip test) |
| 92 | note: rebase of 41:945ead78d871 created no changes to commit |
| 93 | <<< [27] <exec> 195,705 us |
| 94 | >>> [28] <exec> $ HGPLAIN=1 hg bookmarks |
| 95 | <<< [28] <exec> 113,416 us |
| 96 | >>> [29] <exec> $ HGPLAIN=1 hg bookmark -f 'master' |
| 97 | <<< [29] <exec> 133,996 us |
| 98 | >>> [30] <exec> $ HGPLAIN=1 hg bookmark -f 'test' -r '945ead78d87118052e3230c6dad7c51e9c08c4eb' |
| 99 | <<< [30] <exec> 124,422 us |
| 100 | >>> [31] <exec> $ HGPLAIN=1 hg log -r 'children('\''test'\'')' --template '{node}\n' |
| 101 | <<< [31] <exec> 123,640 us |
| 102 | >>> [32] <exec> $ HGPLAIN=1 hg checkout 'master' |
| 103 | <<< [32] <exec> 114,024 us |
| 104 | >>> [33] <event> land.willPushRevision <listeners = 0> |
| 105 | <<< [33] <event> 112 us |
| 106 | Pushing change... |
| 107 | |
| 108 | >>> [34] <exec> $ HGPLAIN=1 hg push -r 'master' '' |
| 109 | pushing to ssh://phab-devel.code/diffusion/HGTEST/hgtest/ |
| 110 | searching for changes |
| 111 | remote: adding changesets |
| 112 | remote: adding manifests |
| 113 | remote: adding file changes |
| 114 | remote: added 1 changesets with 4 changes to 4 files |
| 115 | remote: [2015-10-13 00:14:42] EXCEPTION: (CommandException) Command failed with error #255! |
| 116 | remote: COMMAND |
| 117 | remote: hg log --template '{node}' --rev 'ancestor('\''d721d5b57fc9ef72e47ff9d4e0c583d74a46590c'\'', '\''e309da2bfa84f01dc7a399b3dd5df0d7aaab2677'\'')' |
| 118 | remote: |
| 119 | remote: STDOUT |
| 120 | remote: (empty) |
| 121 | remote: |
| 122 | remote: STDERR |
| 123 | remote: abort: unknown revision 'e309da2bfa84f01dc7a399b3dd5df0d7aaab2677'! |
| 124 | remote: at [<phutil>/src/future/exec/ExecFuture.php:416] |
| 125 | remote: arcanist(head=master, ref.master=172c930630a9), phabricator(head=master, ref.master=3f3626c11a04), phutil(head=master, ref.master=dbf792a053fc) |
| 126 | remote: #0 ExecFuture::resolvex() called at [<phabricator>/src/applications/repository/storage/PhabricatorRepository.php:346] |
| 127 | remote: #1 PhabricatorRepository::execxLocalCommand(string, string, string) called at [<phabricator>/src/applications/diffusion/engine/DiffusionCommitHookEngine.php:968] |
| 128 | remote: #2 DiffusionCommitHookEngine::findMercurialPushKeyRefUpdates() called at [<phabricator>/src/applications/diffusion/engine/DiffusionCommitHookEngine.php:693] |
| 129 | remote: #3 DiffusionCommitHookEngine::findMercurialRefUpdates() called at [<phabricator>/src/applications/diffusion/engine/DiffusionCommitHookEngine.php:222] |
| 130 | remote: #4 DiffusionCommitHookEngine::findRefUpdates() called at [<phabricator>/src/applications/diffusion/engine/DiffusionCommitHookEngine.php:124] |
| 131 | remote: #5 DiffusionCommitHookEngine::execute() called at [<phabricator>/scripts/repository/commit_hook.php:133] |
| 132 | remote: pushkey-abort: prepushkey.phabricator hook exited with status 255 |
| 133 | remote: transaction abort! |
| 134 | remote: rollback completed |
| 135 | abort: updating bookmark master failed! |
| 136 | <<< [34] <exec> 3,116,171 us |
| 137 | PUSH FAILED! |
| 138 | >>> [35] <exec> $ HGPLAIN=1 hg --config extensions.mq= strip 'master' |
| 139 | <<< [35] <exec> 160,032 us |
| 140 | >>> [36] <exec> $ HGPLAIN=1 hg checkout 'test' |
| 141 | <<< [36] <exec> 135,399 us |
| 142 | Switched back to bookmark test. |
| 143 | Usage Exception: 'hg push' failed! Fix the error and push this change manually. |
| 144 | |
| 145 | [2015-10-13 04:14:43] EXCEPTION: (ArcanistUsageException) 'hg push' failed! Fix the error and push this change manually. at [<arcanist>/src/workflow/ArcanistLandWorkflow.php:1083] |
| 146 | arcanist(head=stable, ref.master=9e65fc65164a, ref.stable=1773aad85599), phutil(head=stable, ref.master=55f554b618b9, ref.stable=c5a7d67db294) |
| 147 | #0 ArcanistLandWorkflow::push() called at [<arcanist>/src/workflow/ArcanistLandWorkflow.php:224] |
| 148 | #1 ArcanistLandWorkflow::run() called at [<arcanist>/scripts/arcanist.php:382] |
@epriestley: I'm considering looking at solutions for this, as this is a minor-but-frequent nuisance as a result of our development workflow. I think my approach will be to check during Autoclose that the commit seen is in the same repository associated with the revision before continuing. My gut tells me this is not a change you want upstream - and that if there is a plan for this, the change might be a bit more complex than what I can stomach at the moment. I would like to get an idea of what you have in mind however, that I can keep an eye out while digging around. Below I'm trying to better verbalize our workflow process that results in us seeing these problems.
Right .. with 7.42.1 it's now OK.
You have a version of cURL which has a bug with Content-Length (see T8654 for discussion), but your version of libphutil should include a workaround, so I'm not sure what's up. I can't reproduce this problem on this server.
$ git show commit 367fadac24f24b826820e2fadced34b21cfff9ef Merge: 4348cea d0105f1 Author: epriestley <git@epriestley.com> Date: Sat Oct 3 05:09:03 2015 -0700
At HEAD:
Oct 12 2015
What is "hosted by a service" specifically?
Can you show me the output of these commands on the server?
Adding @chad. Please refer to Q169: Duplicate Entry exception key_oneanswerperquestion
@hach-que - I'm getting ready to public-ize this task (After updating the description).
Blueprint selection (which got more details in T9519) is now in a rough-but-functional state so I expect the rest of this to move forward shortly.
You can change the configuration. This protocol is not prevalent enough to motivate us to include it by default in the upstream.
@avivey - That was the case in fact. The default policy was set as "All Users", so no bug here.