view release on metacpan or search on metacpan
src/subversion/CHANGES view on Meta::CPAN
* fixed: 'svn unlock URL' segfault (r14893)
* fixed: 'svn commit' failure on XML-unsafe locked paths (issue #2335)
* fixed: recursive directory copy bug (issue #2343)
* fixed: don't initialize RA library in 'svnversion' (r14755)
* fixed: svn-push segfault (r14732)
* various translation updates for localized client messages
- Server:
* fixed: 'svn log' performance regression, general (r14116, 14772, 14759)
* fixed: 'svn log -v' performance regression, FSFS-specific (r15016)
* fixed: mod_dav_svn bug sets content-type incorrectly (r15046)
Developer-visible changes:
* fixed: win32 innosetup's add/repair/remove features (r14830)
* fixed: OBOE with 'limit' parameter of svn_repos_get_logs3(). (r15119)
* redhat RPM fixes (r15050)
* perl bindings:
- accessors for svn_lock_t (r15082)
- call utf_initialize, adjust global pool usage (r15076, r15080,
r15081, r15117)
src/subversion/subversion/libsvn_ra_serf/ra_serf.h view on Meta::CPAN
* Structure that can be passed to our default handler to guide the
* execution of the request through its lifecycle.
*/
typedef struct svn_ra_serf__handler_t {
/* The HTTP method string of the request */
const char *method;
/* The resource to the execute the method on. */
const char *path;
/* The content-type of the request body. */
const char *body_type;
/* If TRUE then default Accept-Encoding request header is not configured for
request. If FALSE then 'gzip' accept encoding will be used if compression
enabled. */
svn_boolean_t custom_accept_encoding;
/* Has the request/response been completed? */
svn_boolean_t done;
src/subversion/subversion/mod_dav_svn/repos.c view on Meta::CPAN
comb->res.hooks = &dav_svn__hooks_repository;
comb->res.pool = r->pool;
comb->res.uri = cleaned_uri;
/* Original request, off which to generate subrequests later. */
comb->priv.r = r;
/* ### ugly hack to carry over Content-Type data to the open_stream, which
### does not have access to the request headers. */
{
const char *ct = apr_table_get(r->headers_in, "content-type");
comb->priv.is_svndiff =
ct != NULL
&& strcmp(ct, SVN_SVNDIFF_MIME_TYPE) == 0;
}
negotiate_encoding_prefs(r, &comb->priv.svndiff_version);
/* ### and another hack for computing diffs to send to the client */
comb->priv.delta_base = apr_table_get(r->headers_in,
src/subversion/subversion/mod_dav_svn/repos.c view on Meta::CPAN
if (serr != NULL)
{
return dav_svn__convert_err(serr, HTTP_INTERNAL_SERVER_ERROR,
"Could not prepare to write the file",
resource->pool);
}
/* if the incoming data is an SVNDIFF, then create a stream that
will process the data into windows and invoke the FS window handler
when a window is ready. */
/* ### we need a better way to check the content-type! this is bogus
### because we're effectively looking at the request_rec. doubly
### bogus because this means you cannot open arbitrary streams and
### feed them content (the type is always tied to a request_rec).
### probably ought to pass the type to open_stream */
if (resource->info->is_svndiff)
{
(*stream)->wstream =
svn_txdelta_parse_svndiff((*stream)->delta_handler,
(*stream)->delta_baton,
TRUE,
src/subversion/subversion/mod_dav_svn/repos.c view on Meta::CPAN
/* We only allow POSTs against the "me resource" right now. */
derr = get_resource(r, dav_svn__get_root_dir(r),
"ignored", 0, &resource);
if (derr != NULL)
return derr->status;
if (resource->info->restype != DAV_SVN_RESTYPE_ME)
return HTTP_BAD_REQUEST;
/* Pass skel-type POST request handling off to a dispatcher; any
other type of request is considered bogus. */
content_type = apr_table_get(r->headers_in, "content-type");
if (content_type && (strcmp(content_type, SVN_SKEL_MIME_TYPE) == 0))
{
derr = handle_post_request(r, resource, r->output_filters);
}
else
{
derr = dav_svn__new_error(resource->pool, HTTP_BAD_REQUEST, 0,
"Unsupported POST request type.");
}
src/subversion/subversion/po/es.po view on Meta::CPAN
#: ../libsvn_ra_neon/commit.c:1176
#, c-format
msgid "Could not write svndiff to temp file"
msgstr "No se pudo escribir svndiff a un archivo temporal"
#: ../libsvn_ra_neon/fetch.c:246
msgid "Could not save the URL of the version resource"
msgstr "No se pudo guardar el URL del recurso versionado"
#: ../libsvn_ra_neon/fetch.c:439
msgid "Could not get content-type from response"
msgstr "No se pudo obtener el 'content-type' a partir de la respuesta."
#: ../libsvn_ra_neon/fetch.c:532
msgid "Could not save file"
msgstr "No se pudo grabar el archivo"
#: ../libsvn_ra_neon/fetch.c:995
msgid "Server response missing the expected deadprop-count property"
msgstr "A la respuesta del servidor le falta la propiedad deadprop-count y se la esperaba"
#: ../libsvn_ra_neon/fetch.c:1091 ../libsvn_ra_serf/property.c:1001
src/subversion/subversion/po/it.po view on Meta::CPAN
#: ../libsvn_ra_neon/commit.c:1176
#, c-format
msgid "Could not write svndiff to temp file"
msgstr "Non sono riuscito a scrivere l'svndiff su un file temporaneo"
#: ../libsvn_ra_neon/fetch.c:246
msgid "Could not save the URL of the version resource"
msgstr "Non ho potuto salvare l'URL della risorsa di versione"
#: ../libsvn_ra_neon/fetch.c:439
msgid "Could not get content-type from response"
msgstr "Non è stato possibile ottenere il valore di content-type dalla risposta"
#: ../libsvn_ra_neon/fetch.c:532
msgid "Could not save file"
msgstr "Non ho potuto salvare il file"
#: ../libsvn_ra_neon/fetch.c:995
msgid "Server response missing the expected deadprop-count property"
msgstr "L'attesa proprietà deadprop-count non è presente nella risposta del server"
#: ../libsvn_ra_neon/fetch.c:1091 ../libsvn_ra_serf/property.c:1001
src/subversion/subversion/po/ja.po view on Meta::CPAN
#: ../libsvn_ra_neon/commit.c:1176
#, c-format
msgid "Could not write svndiff to temp file"
msgstr "svndiff ã䏿ãã¡ã¤ã«ã«æ¸ãè¾¼ãã¾ããã§ãã"
#: ../libsvn_ra_neon/fetch.c:246
msgid "Could not save the URL of the version resource"
msgstr "ãã¼ã¸ã§ã³ç®¡çããããªã½ã¼ã¹ã® URL ãä¿åã§ãã¾ãã"
#: ../libsvn_ra_neon/fetch.c:439
msgid "Could not get content-type from response"
msgstr "ã¬ã¹ãã³ã¹ãã content-type ãåå¾ã§ãã¾ããã§ãã"
#: ../libsvn_ra_neon/fetch.c:532
msgid "Could not save file"
msgstr "ãã¡ã¤ã«ãä¿åã§ãã¾ããã§ãã"
#: ../libsvn_ra_neon/fetch.c:995
msgid "Server response missing the expected deadprop-count property"
msgstr "æå¾
ããã deadprop-count 屿§ããµã¼ãããã®ã¬ã¹ãã³ã¹ã«ããã¾ãã"
#: ../libsvn_ra_neon/fetch.c:1091 ../libsvn_ra_serf/property.c:1001
src/subversion/subversion/po/ja.po view on Meta::CPAN
#~ msgstr ""
#~ "ä¸è¬çãªä½¿ç¨æ¹æ³: svnsync <ãµãã³ãã³ã> <åæå
URL> [<弿°ããªãã·ã§ã³> ...]\n"
#~ " svnsync --version\n"
#~ "ç¹å®ã®ãµãã³ãã³ãã«é¢ãããã«ããèªã¿ããã¨ã㯠'svnsync help <ãµãã³ãã³ã>'\n"
#~ "ã¨æã£ã¦ãã ããã\n"
#~ "ããã°ã©ã ã®ãã¼ã¸ã§ã³ã RA ã¢ã¸ã¥ã¼ã«ãåç
§ããã«ã¯ 'svnsync --version' ã¨æã£\n"
#~ "ã¦ãã ããã\n"
#~ "\n"
#~ "å©ç¨å¯è½ãªãµãã³ãã³ã:\n"
#~ msgid "Could not get content-type from response."
#~ msgstr "ã¬ã¹ãã³ã¹ãã content-type ãåå¾ã§ãã¾ããã§ããã"
#~ msgid "Lock file '%s' is not a regular file"
#~ msgstr "ããã¯ç¨ã®ãã¡ã¤ã« '%s' ã¯æ£å¸¸ãªãã¡ã¤ã«ã§ã¯ããã¾ãã"
# * Description for 'svn resolved'.
# * "resolved: " is displayed at the head of the first line.
#~ msgid ""
#~ "Remove 'conflicted' state on working copy files or directories.\n"
#~ "usage: resolved PATH...\n"
#~ "\n"
src/subversion/subversion/po/ko.po view on Meta::CPAN
#: ../libsvn_ra_neon/commit.c:1176
#, c-format
msgid "Could not write svndiff to temp file"
msgstr "svndiff 를 ìì íì¼ì 기ë¡í ì ììµëë¤"
#: ../libsvn_ra_neon/fetch.c:247
msgid "Could not save the URL of the version resource"
msgstr "ë²ì ê´ë¦¬ëìì¸ URLì ì ì¥í ì ììµëë¤"
#: ../libsvn_ra_neon/fetch.c:440
msgid "Could not get content-type from response"
msgstr "컨í
í¸ íìì ìëµì¼ë¡ë¶í° ì»ì ì ììµëë¤"
#: ../libsvn_ra_neon/fetch.c:533
msgid "Could not save file"
msgstr "íì¼ì ì ì¥í ì ììµëë¤"
#: ../libsvn_ra_neon/fetch.c:707 ../libsvn_ra_serf/update.c:2741
msgid "Can't get text contents of a directory"
msgstr "ëë í 리ì ë¤ì í목ì ì»ì ì ììµëë¤"
src/subversion/subversion/po/nb.po view on Meta::CPAN
#: ../libsvn_ra_neon/commit.c:1176
#, c-format
msgid "Could not write svndiff to temp file"
msgstr "Kunne ikke skrive svndiff til midlertidig fil"
#: ../libsvn_ra_neon/fetch.c:246
msgid "Could not save the URL of the version resource"
msgstr "Kunne ikke lagre adressen på den versjonerte ressursen"
#: ../libsvn_ra_neon/fetch.c:439
msgid "Could not get content-type from response"
msgstr "Klarte ikke å lese innholdstype (content-type) fra responsen"
#: ../libsvn_ra_neon/fetch.c:532
msgid "Could not save file"
msgstr "Kunne ikke lagre filen"
#: ../libsvn_ra_neon/fetch.c:995
msgid "Server response missing the expected deadprop-count property"
msgstr "Tjenerresponsen mangler den forventede «deadprop-count»-egenskapen"
#: ../libsvn_ra_neon/fetch.c:1091 ../libsvn_ra_serf/property.c:1001
src/subversion/subversion/po/pl.po view on Meta::CPAN
#: ../libsvn_ra_neon/commit.c:1176
#, c-format
msgid "Could not write svndiff to temp file"
msgstr "Nie udaÅo siÄ zapisaÄ danych svndiff do pliku tymczasowego"
#: ../libsvn_ra_neon/fetch.c:246
msgid "Could not save the URL of the version resource"
msgstr "Nie można zapisaÄ URL obiektu wersji"
#: ../libsvn_ra_neon/fetch.c:439
msgid "Could not get content-type from response"
msgstr "Nie można uzyskaÄ typu zawartoÅci z odpowiedzi"
#: ../libsvn_ra_neon/fetch.c:532
msgid "Could not save file"
msgstr "BÅÄ
d w trakcie zapisywania pliku"
#: ../libsvn_ra_neon/fetch.c:995
msgid "Server response missing the expected deadprop-count property"
msgstr "Brak oczekiwanego atrybutu deadprop-count w odpowiedzi serwera"
src/subversion/subversion/po/pt_BR.po view on Meta::CPAN
#: ../libsvn_ra_neon/commit.c:1176
#, c-format
msgid "Could not write svndiff to temp file"
msgstr "Não foi possÃvel escrever svndiff para arquivo temporário"
#: ../libsvn_ra_neon/fetch.c:246
msgid "Could not save the URL of the version resource"
msgstr "Não foi possÃvel salvar a URL do recurso de versão"
#: ../libsvn_ra_neon/fetch.c:439
msgid "Could not get content-type from response"
msgstr "Não foi possÃvel obter content-type da resposta"
#: ../libsvn_ra_neon/fetch.c:532
msgid "Could not save file"
msgstr "Não foi possÃvel gravar arquivo"
#: ../libsvn_ra_neon/fetch.c:995
msgid "Server response missing the expected deadprop-count property"
msgstr "Resposta do servidor não possui propriedade deadprop-count esperada"
#: ../libsvn_ra_neon/fetch.c:1091 ../libsvn_ra_serf/property.c:1001
src/subversion/subversion/po/zh_TW.po view on Meta::CPAN
#: ../libsvn_ra_neon/commit.c:1176
#, c-format
msgid "Could not write svndiff to temp file"
msgstr "ç¡æ³å¯« svndiff è³æ«åæª"
#: ../libsvn_ra_neon/fetch.c:246
msgid "Could not save the URL of the version resource"
msgstr "ç¡æ³å²åçæ¬è³æºç URL"
#: ../libsvn_ra_neon/fetch.c:439
msgid "Could not get content-type from response"
msgstr "ç¡æ³èªåæåå¾ content-type"
#: ../libsvn_ra_neon/fetch.c:532
msgid "Could not save file"
msgstr "ç¡æ³å²åæªæ¡"
#: ../libsvn_ra_neon/fetch.c:995
msgid "Server response missing the expected deadprop-count property"
msgstr "伺æå¨åæç¼ºå°é æç deadprop-count æ§è³ª"
#: ../libsvn_ra_neon/fetch.c:1091 ../libsvn_ra_serf/property.c:1001
src/subversion/tools/buildbot/master/Feeder.py view on Meta::CPAN
from twisted.web.resource import Resource
from buildbot.status.web import baseweb
from buildbot.status.builder import FAILURE, SUCCESS, WARNINGS
class XmlResource(Resource):
contentType = "text/xml; charset=UTF-8"
def render(self, request):
data = self.content(request)
request.setHeader("content-type", self.contentType)
if request.method == "HEAD":
request.setHeader("content-length", len(data))
return ''
return data
docType = ''
def header (self, request):
data = ('<?xml version="1.0"?>\n')
return data
def footer(self, request):
data = ''
src/subversion/tools/server-side/svnpubsub/svnpubsub/server.py view on Meta::CPAN
def write_data(self, data):
self.write(data + "\n\0")
""" "Data must not be unicode" is what the interfaces.ITransport says... grr. """
def write(self, input):
self.r.write(str(input))
def write_start(self):
self.r.setHeader('X-SVNPubSub-Version', '1')
self.r.setHeader('content-type', 'application/vnd.apache.vc-notify+json')
self.write('{"svnpubsub": {"version": 1}}\n\0')
def write_heartbeat(self):
self.write(json.dumps({"stillalive": time.time()}) + "\n\0")
class SvnPubSub(resource.Resource):
isLeaf = True
clients = []
def cc(self):
return len(self.clients)
def remove(self, c):
self.clients.remove(c)
def render_GET(self, request):
log.msg("REQUEST: %s" % (request.uri))
request.setHeader('content-type', 'text/plain')
repository = None
type = None
uri = request.uri.split('/')
uri_len = len(uri)
if uri_len < 2 or uri_len > 4:
request.setResponseCode(400)
return "Invalid path\n"
src/subversion/tools/server-side/svnpubsub/svnpubsub/server.py view on Meta::CPAN
def notifyAll(self, commit):
data = commit.render_commit()
log.msg("COMMIT: %s (%d clients)" % (commit.render_log(), self.cc()))
for client in self.clients:
if client.interested_in(commit):
client.write_data(data)
def render_PUT(self, request):
request.setHeader('content-type', 'text/plain')
ip = request.getClientIP()
if ip != "127.0.0.1":
request.setResponseCode(401)
return "Access Denied"
input = request.content.read()
#import pdb;pdb.set_trace()
#print "input: %s" % (input)
try:
c = json.loads(input)
commit = Commit(c)