Page MenuHomePhabricator

set localpath in repository.create
ClosedPublic

Authored by avivey on Jul 5 2014, 10:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 18, 12:43 AM
Unknown Object (File)
Mon, Dec 9, 7:04 AM
Unknown Object (File)
Sun, Dec 8, 10:53 PM
Unknown Object (File)
Thu, Dec 5, 9:47 PM
Unknown Object (File)
Thu, Dec 5, 12:32 PM
Unknown Object (File)
Wed, Dec 4, 8:59 AM
Unknown Object (File)
Wed, Dec 4, 8:59 AM
Unknown Object (File)
Wed, Dec 4, 8:59 AM
Subscribers

Details

Summary

Since there's no way to set it, it defaults to an empty value. Make the conduit call set up sane default.

Test Plan

Call method, repo get's built with expected localpath.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

avivey retitled this revision from to set localpath in repository.create.
avivey updated this object.
avivey edited the test plan for this revision. (Show Details)
avivey added a reviewer: epriestley.

I wanted to put this on the pre-save hook in repository, but found no other uses of that hook.

Anyway, this method needs some updating to support some recent changes like "hosted repositories".

This revision is now accepted and ready to land.Jul 9 2014, 10:35 PM
epriestley updated this revision to Diff 23682.

Closed by commit rP64e2aad46fa0 (authored by @avivey, committed by @epriestley).