Skip to content

Commit

Permalink
Merge pull request #8922 from cockroachdb/master
Browse files Browse the repository at this point in the history
master -> develop
  • Loading branch information
tamird committed Aug 29, 2016
2 parents 6b4f65f + c86633d commit d8d57b3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
2 changes: 2 additions & 0 deletions acceptance/reference_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ trap finish EXIT
export PGHOST=localhost
export PGPORT=""
export COCKROACH_SKIP_UPDATE_CHECK=1
bin=/%s/cockroach
# TODO(bdarnell): when --background is in referenceBinPath, use it here and below.
Expand Down Expand Up @@ -142,6 +143,7 @@ function finish() {
}
trap finish EXIT
export COCKROACH_SKIP_UPDATE_CHECK=1
$bin start --alsologtostderr=INFO --background --store=/cockroach-data-reference-7429 &> out
$bin debug kv scan
$bin quit
Expand Down
2 changes: 1 addition & 1 deletion build/circle-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ prepare_artifacts() {

if [ "${ret}" -ne 0 ] &&
[ -n "${GITHUB_API_TOKEN-}" ] &&
[ "${CIRCLE_BRANCH-}" = "master" ] || [ "${CIRCLE_BRANCH-}" = "develop" ]
([ "${CIRCLE_BRANCH-}" = "master" ] || [ "${CIRCLE_BRANCH-}" = "develop" ])
then
function post() {
curl -X POST -H "Authorization: token ${GITHUB_API_TOKEN}" \
Expand Down
9 changes: 6 additions & 3 deletions cli/cliflags/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -316,14 +316,17 @@ database, insecure, certs).`,
From = FlagInfo{
Name: "from",
Description: `
Start key and format as [<format>:]<key>. Supported formats: raw, human, rangeID.`,
Start key and format as [<format>:]<key>. Supported formats: raw, human,
rangeID. The raw format supports escaped text. For example, "raw:\x01k" is the
prefix for range local keys.`,
}

To = FlagInfo{
Name: "to",
Description: `
Exclusive end key and format as [<format>:]<key>. Supported formats: raw, human, rangeID.`,
}
Exclusive end key and format as [<format>:]<key>. Supported formats: raw,
human, rangeID. The raw format supports escaped text. For example, "raw:\x01k"
is the prefix for range local keys.`}

Values = FlagInfo{
Name: "values",
Expand Down
2 changes: 1 addition & 1 deletion cli/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func (k *mvccKey) Set(value string) error {

switch typ {
case raw:
*k = mvccKey(engine.MakeMVCCMetadataKey(roachpb.Key(keyStr)))
*k = mvccKey(engine.MakeMVCCMetadataKey(roachpb.Key(unquoteArg(keyStr, false))))
case human:
key, err := keys.UglyPrint(keyStr)
if err != nil {
Expand Down

0 comments on commit d8d57b3

Please sign in to comment.