~bzr/ubuntu/intrepid/bzr-svn/bzr-ppa

« back to all changes in this revision

Viewing changes to repos.c

  • Committer: John Arbash Meinel
  • Date: 2008-08-25 21:07:15 UTC
  • mfrom: (309.1.2 debian)
  • Revision ID: john@arbash-meinel.com-20080825210715-gjow5e72oo981g23
Merge in Jelmer's latest updates to bzr-svn

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
        if (pool == NULL)
50
50
                return NULL;
51
51
    hash_config = config_hash_from_object(config, pool);
 
52
        if (hash_config == NULL)
 
53
                return NULL;
52
54
    hash_fs_config = apr_hash_make(pool); /* FIXME */
 
55
        if (hash_fs_config == NULL) {
 
56
                PyErr_SetString(PyExc_RuntimeError, "Unable to create fs config hash");
 
57
                return NULL;
 
58
        }
53
59
    RUN_SVN_WITH_POOL(pool, svn_repos_create(&repos, path, NULL, NULL, 
54
60
                hash_config, hash_fs_config, pool));
55
61