public SvnMappingSavedPart getState() {
    final SvnMappingSavedPart result = new SvnMappingSavedPart();

    final SvnMapping mapping = new SvnMapping();
    final SvnMapping realMapping = new SvnMapping();
    synchronized (myMonitor) {
      mapping.copyFrom(myMapping);
      realMapping.copyFrom(myMoreRealMapping);
    }

    for (RootUrlInfo info : mapping.getAllCopies()) {
      result.add(convert(info));
    }
    for (RootUrlInfo info : realMapping.getAllCopies()) {
      result.addReal(convert(info));
    }
    return result;
  }
 /**
  * Returns real working copies roots - if there is <Project Root> -> Subversion setting, and there
  * is one working copy, will return one root
  */
 public List<RootUrlInfo> getAllWcInfos() {
   synchronized (myMonitor) {
     // a copy is created inside
     return myMoreRealMapping.getAllCopies();
   }
 }