type go.pact.im/x/goship/internal/vcs.Revision

39 uses

	go.pact.im/x/goship/internal/vcs (current package)
		backend.go#L11: type Revision struct {
		backend.go#L63: 	ResolveRev(ctx context.Context, rev string) (Revision, error)
		backend.go#L79: 	Begin(ctx context.Context, rev Revision) (Session, error)

	go.pact.im/x/goship/internal/vcs/fossilvcs
		repo.go#L95: func (r *Repo) ResolveRev(ctx context.Context, rev string) (vcs.Revision, error) {
		repo.go#L99: 		return vcs.Revision{}, fmt.Errorf("resolve fossil revision %q: %w", rev, err)
		repo.go#L104: 			return vcs.Revision{
		repo.go#L111: 	return vcs.Revision{}, fmt.Errorf("resolve fossil revision %q: could not parse timeline output", rev)
		repo.go#L205: func (r *Repo) Begin(ctx context.Context, rev vcs.Revision) (vcs.Session, error) {
		session.go#L21: 	rev    vcs.Revision

	go.pact.im/x/goship/internal/vcs/gitvcs
		repo.go#L86: func (r *Repo) ResolveRev(ctx context.Context, rev string) (vcs.Revision, error) {
		repo.go#L90: 		return vcs.Revision{}, fmt.Errorf("resolve revision %q: %w", rev, err)
		repo.go#L92: 	res := vcs.Revision{ID: strings.TrimSpace(id)}
		repo.go#L189: func (r *Repo) Begin(ctx context.Context, rev vcs.Revision) (vcs.Session, error) {
		session.go#L24: 	rev     vcs.Revision

	go.pact.im/x/goship/internal/vcs/hgvcs
		repo.go#L82: func (r *Repo) ResolveRev(ctx context.Context, rev string) (vcs.Revision, error) {
		repo.go#L86: 		return vcs.Revision{}, fmt.Errorf("resolve hg revision %q: %w", rev, err)
		repo.go#L90: 		return vcs.Revision{}, fmt.Errorf("resolve hg revision %q: empty output", rev)
		repo.go#L92: 	res := vcs.Revision{ID: strings.TrimSpace(lines[0])}
		repo.go#L164: func (r *Repo) Begin(ctx context.Context, rev vcs.Revision) (vcs.Session, error) {
		session.go#L23: 	rev      vcs.Revision

	go.pact.im/x/goship/internal/vcs/jjvcs
		repo.go#L120: func (r *Repo) ResolveRev(ctx context.Context, rev string) (vcs.Revision, error) {
		repo.go#L125: 		return vcs.Revision{}, fmt.Errorf("resolve jj revision %q: %w", rev, err)
		repo.go#L129: 		return vcs.Revision{}, fmt.Errorf("resolve jj revision %q: empty output", rev)
		repo.go#L131: 	res := vcs.Revision{ID: strings.TrimSpace(lines[0])}
		repo.go#L227: func (r *Repo) Begin(ctx context.Context, rev vcs.Revision) (vcs.Session, error) {
		session.go#L24: 	rev    vcs.Revision

	go.pact.im/x/goship/internal/vcs/memvcs
		repo.go#L109: func (r *Repo) ResolveRev(_ context.Context, rev string) (vcs.Revision, error) {
		repo.go#L114: 		return vcs.Revision{
		repo.go#L121: 		return vcs.Revision{ID: id, Ref: rev, Label: rev}, nil
		repo.go#L124: 		return vcs.Revision{ID: id}, nil
		repo.go#L127: 		return vcs.Revision{ID: rev}, nil
		repo.go#L129: 	return vcs.Revision{}, fmt.Errorf("memvcs: unknown revision %q", rev)
		repo.go#L211: func (r *Repo) Begin(_ context.Context, rev vcs.Revision) (vcs.Session, error) {
		session.go#L17: 	rev       vcs.Revision

	go.pact.im/x/goship/internal/release
		plan.go#L76: 	Revision     vcs.Revision  `json:"revision"`
		plan.go#L98: 	Revision    vcs.Revision
		plan.go#L110: 	Revision        vcs.Revision
		snapshot.go#L29: 	Revision  vcs.Revision
		snapshot.go#L182: 	Revision  vcs.Revision     `json:"revision"`