~/bend-docscommunity

src/ws/pin.bend fails

raw source on the hub · import ezx@1.11.0.0/src/ws/pin.bend as Pin

ws/pin: the ref ez add in a workspace member takes (EZ-WS-4). A git source has one pin across a workspace, so a member adding a source another member already records takes that pin: with no ref, the tag it records, or its commit when it records none; with the tag or commit it records, that; with any other ref, nothing, since moving the source is an upgrade of every member that records it. A source no member records, and a hub package, take the ref as it was given.

6 imports
import Base
import ../ledger/manifest.bend as M
import ../pkg/path.bend as P
import ../ez/target.bend as Tgt
import ../add/world.bend as A
import ./joint.bend as J