Bug #10291 I can no longer 'bk pull' mysql-4.1 (REAL_EMAIL problem)
Submitted: 1 May 2005 14:10 Modified: 1 May 2005 20:11
Reporter: STyx Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Websites Severity:S3 (Non-critical)
Version:bk clone bk://mysql.bkbits.net/mysql-4.1 OS:cygwin
Assigned to: CPU Architecture:Any

[1 May 2005 14:10] STyx
Description:
"bk pull" command says:

Error: you must set REAL_EMAIL in your profile
e.g.: export REAL_EMAIL='Joe Dow <joe@foo.bar>'

Commit FAILED!
Set REAL_EMAIL and retry.

support from bitmover wrote:
>Ask folks on the MySQL team -- it comes from their trigger.

This problem has appeared since i use "bk commit".

(note: i can't find any feedback 
--- nothing in http://lists.mysql.com/internals, no email)  ---
about the changeset (Sylvain:1.2215) i've committed)

I've tried many values of REAL_EMAIL in cygwin profile and bitkeeper profile files without success.

How to repeat:
bk pull
[1 May 2005 14:20] STyx
here is an approximative command history:

>bk clone bk://mysql.bkbits.net/mysql-4.1 mysql-4.1

>bk pull && echo "ok"
ok

...

>bk citool

# problem ... I can't rememeber it

>bk commit

#seems ok

Sylvain@LouSTyx /cygdrive/d/ST/dev/mysql/mysql-4.1
$ bk pull
Pull bk://mysql.bkbits.net/mysql-4.1
  -> file://D:/ST/dev/mysql/mysql-4.1
---------------------- Receiving the following csets -----------------------
1.2216 1.2212.1.7 1.2202.14.1 1.2215 1.2212.1.6 1.2212.3.2
1.2212.2.2 1.2212.1.5 1.2212.1.4 1.2200.4.1 1.2212.3.1 1.2212.1.3
1.1346.1.748 1.2214 1.2212.2.1 1.2202.1.11 1.2202.1.10 1.2213
1.2202.4.8 1.2202.4.7 1.2202.12.1 1.2202.1.9 1.2202.1.8
1.2202.8.4 1.2202.8.3 1.2202.8.2 1.2202.8.1 1.2202.6.1 1.2202.1.7
1.2202.1.6 1.2202.1.5 1.2194.1.1 1.2160.4.2 1.2160.4.1 1.2152.23.1
----------------------------------------------------------------------------
ChangeSet: 35 deltas
configure.in: 1 deltas
include/config-win.h: 1 deltas
include/my_sys.h: 1 deltas
myisam/myisampack.c: 2 deltas
myisammrg/myrg_open.c: 1 deltas
mysys/default.c: 2 deltas
mysys/mf_keycache.c: 1 deltas
mysys/my_getwd.c: 1 deltas
sql/field.h: 1 deltas
sql/ha_myisammrg.cc: 1 deltas
sql/hostname.cc: 1 deltas
sql/item.h: 1 deltas
sql/item_func.cc: 1 deltas
sql/item_func.h: 1 deltas
sql/mysqld.cc: 4 deltas
sql/protocol.cc: 1 deltas
sql/share/english/errmsg.txt: 1 deltas
sql/sql_insert.cc: 2 deltas
sql/sql_select.cc: 3 deltas
BitKeeper/etc/logging_ok: 1 deltas
mysql-test/r/innodb-replace.result: 1 deltas
mysql-test/t/innodb-replace.test: 1 deltas
ndb/include/ndbapi/NdbDictionary.hpp: 1 deltas
ndb/src/ndbapi/NdbDictionaryImpl.cpp: 1 deltas
sql/ha_ndbcluster.cc: 7 deltas
sql/ha_ndbcluster.h: 1 deltas
mysql-test/r/group_by.result: 1 deltas
mysql-test/t/group_by.test: 1 deltas
include/my_global.h: 1 deltas
mysql-test/r/cast.result: 1 deltas
mysql-test/t/cast.test: 1 deltas
tests/index_corrupt.pl: 2 deltas
mysql-test/r/ndb_multi.result: 1 deltas
mysql-test/t/ndb_multi.test: 1 deltas
mysql-test/r/drop.result: 1 deltas
---------------------------------------------------------------------------
takepatch: saved entire patch in PENDING/2005-05-01.01
---------------------------------------------------------------------------
Applying  35 revisions to ChangeSet, renumbering, checking checksums
Applying   1 revisions to configure.in
Applying   1 revisions to include/config-win.h
Applying   1 revisions to include/my_sys.h
Applying   2 revisions to myisam/myisampack.c
Applying   1 revisions to myisammrg/myrg_open.c
Applying   2 revisions to mysys/default.c
Applying   1 revisions to mysys/mf_keycache.c
Applying   1 revisions to mysys/my_getwd.c
Applying   1 revisions to sql/field.h
Applying   1 revisions to sql/ha_myisammrg.cc
Applying   1 revisions to sql/hostname.cc
Applying   1 revisions to sql/item.h
Applying   1 revisions to sql/item_func.cc
Applying   1 revisions to sql/item_func.h
Applying   4 revisions to sql/mysqld.cc
Applying   1 revisions to sql/protocol.cc
Applying   1 revisions to sql/share/english/errmsg.txt
Applying   2 revisions to sql/sql_insert.cc
Applying   3 revisions to sql/sql_select.cc
Applying   1 revisions to BitKeeper/etc/logging_ok
Applying   1 revisions to mysql-test/r/innodb-replace.result
Applying   1 revisions to mysql-test/t/innodb-replace.test
Applying   1 revisions to ndb/include/ndbapi/NdbDictionary.hpp
Applying   1 revisions to ndb/src/ndbapi/NdbDictionaryImpl.cpp
Applying   7 revisions to sql/ha_ndbcluster.cc
Applying   1 revisions to sql/ha_ndbcluster.h
Applying   1 revisions to mysql-test/r/group_by.result
Applying   1 revisions to mysql-test/t/group_by.test
Applying   1 revisions to include/my_global.h
Applying   1 revisions to mysql-test/r/cast.result
Applying   1 revisions to mysql-test/t/cast.test
Applying   2 revisions to new file tests/index_corrupt.pl
Applying   1 revisions to mysql-test/r/ndb_multi.result
Applying   1 revisions to mysql-test/t/ndb_multi.test
Applying   1 revisions to mysql-test/r/drop.result
takepatch: 85 new revisions, 6 conflicts in 36 files
16056 bytes uncompressed to 70056, 4.36X expansion
Running resolve to apply new work ...
Content merge of sql/ha_ndbcluster.h OK
sql/ha_ndbcluster.h 1.52 inc: 1.51.1.1 -> 1.53
sql/ha_ndbcluster.h revision 1.53: +0 -0 = 243
Content merge of sql/field.h OK
sql/field.h 1.127 inc: 1.126.1.1 -> 1.128
sql/field.h revision 1.128: +0 -0 = 1208
Content merge of sql/item.h OK
sql/item.h 1.177 inc: 1.176.1.1 -> 1.178
sql/item.h revision 1.178: +0 -0 = 662
Content merge of sql/item_func.h OK
sql/item_func.h 1.122 inc: 1.121.1.1 -> 1.123
sql/item_func.h revision 1.123: +0 -0 = 987
resolve: resolved 4 conflicts in pass 3
ChangeSet 1.2216 inc: 1.2212.4.1 -> 1.2217
Error: you must set REAL_EMAIL in your profile
e.g.: export REAL_EMAIL='Joe Dow <joe@foo.bar>'

Commit FAILED!
Set REAL_EMAIL and retry.
Commit aborted, no changes applied.
resolve: RESYNC directory left intact.
====================================================

Sylvain@LouSTyx /cygdrive/d/ST/dev/mysql/mysql-4.1
$ bk abort
Abort update? (y/n) y

Sylvain@LouSTyx /cygdrive/d/ST/dev/mysql/mysql-4.1
$ bk check

Sylvain@LouSTyx /cygdrive/d/ST/dev/mysql/mysql-4.1
$ echo $REAL_EMAIL
STyx <plastyx@free.fr>

Sylvain@LouSTyx /cygdrive/d/ST/dev/mysql/mysql-4.1
$ bk echo $REAL_EMAIL
STyx <plastyx@free.fr>
[1 May 2005 20:11] Sergei Golubchik
You only need to set REAL_EMAIL variable to something. If it did not work you probably didn't do it correctly.

Try for example (from the cygwin bash prompt):

export REAL_EMAIL=STyx 
env|grep REAL

the second command should show REAL_EMAIL variable set.
If it does, you can safely do "bk pull" - it'll work.
[2 May 2005 12:53] STyx
It works :) ty
but it doesn't explain why 
REAL_EMAIL="STyx <plastyx@free.fr>"
fails.
This the same syntax as provided by example:

e.g.: export REAL_EMAIL='Joe Dow <joe@foo.bar>'

i want to try futher tests, but now there is
>Nothing to pull.
[2 May 2005 20:48] STyx
ok I've understood: "export" is required

Sylvain@LouSTyx /cygdrive/d/ST/dev/mysql/mysql-4.1
$ TEST=test

Sylvain@LouSTyx /cygdrive/d/ST/dev/mysql/mysql-4.1
$ env|grep TEST

Sylvain@LouSTyx /cygdrive/d/ST/dev/mysql/mysql-4.1
$ set|grep TEST
TEST=test

Sylvain@LouSTyx /cygdrive/d/ST/dev/mysql/mysql-4.1
$ echo $TEST
test

Sylvain@LouSTyx /cygdrive/d/ST/dev/mysql/mysql-4.1
$ export TEST=test2

Sylvain@LouSTyx /cygdrive/d/ST/dev/mysql/mysql-4.1
$ env|grep TEST
TEST=test2

Sylvain@LouSTyx /cygdrive/d/ST/dev/mysql/mysql-4.1
$ set|grep TEST
TEST=test2

Sylvain@LouSTyx /cygdrive/d/ST/dev/mysql/mysql-4.1
$ echo $TEST
test2

Sylvain@LouSTyx /cygdrive/d/ST/dev/mysql/mysql-4.1
$ man export
No manual entry for export

Sylvain@LouSTyx /cygdrive/d/ST/dev/mysql/mysql-4.1
$ type export
export is a shell builtin

Sylvain@LouSTyx /cygdrive/d/ST/dev/mysql/mysql-4.1
$ exit
logout

D:\ST\dev\mysql\mysql-4.1>TEST=test3

D:\ST\dev\mysql\mysql-4.1>echo $TEST
$TEST

D:\ST\dev\mysql\mysql-4.1>set|grep TEST

D:\ST\dev\mysql\mysql-4.1>set TEST=test3

D:\ST\dev\mysql\mysql-4.1>bash
hello
bash-2.05b$ env|grep TEST
TEST=test3

# this last behavior confuzed me :(