code: public List<String> getPath(long sequence) {
          List<InternalDocumentRevision> objects = getPathForNode(sequence);
          List<String> res = new ArrayList<String>();
          for(InternalDocumentRevision object : objects) {
              res.add(object.getRevision());
          }
          return res;
      }
docs: <p>Returns the path as a list of revision IDs from the revision with
  the given sequence number to the root of the tree containing the
  revision.</p>
  
  @param sequence sequence of the starting revision
  @return list of revision IDs from the starting revision to the root of
  that revision's tree.