mirror of
https://github.com/dolthub/dolt.git
synced 2026-05-01 20:00:22 -05:00
Cleanup misrenamed symbols (#1584)
This commit is contained in:
@@ -32,7 +32,7 @@ func main() {
|
||||
set, err := setSpec.Dataset()
|
||||
util.CheckError(err)
|
||||
|
||||
oldCommitRef, errBool := set.MaybeHeadHash()
|
||||
oldCommitRef, errBool := set.MaybeHeadRef()
|
||||
if !errBool {
|
||||
util.CheckError(fmt.Errorf("Dataset %v not found", set.ID()))
|
||||
}
|
||||
|
||||
@@ -57,11 +57,11 @@ func addCommitWithValue(ds dataset.Dataset, v types.Value) (dataset.Dataset, err
|
||||
}
|
||||
|
||||
func addBranchedDataset(newDs, parentDs dataset.Dataset, v string) (dataset.Dataset, error) {
|
||||
return newDs.CommitWithParents(types.NewString(v), types.NewSet().Insert(parentDs.HeadHash()))
|
||||
return newDs.CommitWithParents(types.NewString(v), types.NewSet().Insert(parentDs.HeadRef()))
|
||||
}
|
||||
|
||||
func mergeDatasets(ds1, ds2 dataset.Dataset, v string) (dataset.Dataset, error) {
|
||||
return ds1.CommitWithParents(types.NewString(v), types.NewSet(ds1.HeadHash(), ds2.HeadHash()))
|
||||
return ds1.CommitWithParents(types.NewString(v), types.NewSet(ds1.HeadRef(), ds2.HeadRef()))
|
||||
}
|
||||
|
||||
func (s *nomsShowTestSuite) TestNomsGraph1() {
|
||||
|
||||
Reference in New Issue
Block a user