New repository

[set:empty ] [equals:errormsg:empty][else
[val errormsg]
]