fix revision range of repo rules; test with smart_ptr