##// END OF EJS Templates
resourceutil: correct the root path for file based lookup under py2exe...
resourceutil: correct the root path for file based lookup under py2exe This silly copy/paste error caused "Mercurial" to be truncated from "C:\Program Files". The fact that "helptext" and "defaultrc" are now in a subpackage of "mercurial" added it back on, and everything seemed to work. But that broke if not installed to the default directory, and also caused TortoiseHg to look at Mercurial's config files instead of its own. Differential Revision: https://phab.mercurial-scm.org/D8054

File last commit:

r35977:9724f549 default
r44677:ccb719dd default
Show More
hgclient.h
30 lines | 866 B | text/x-c | CLexer
Yuya Nishihara
chg: import frontend sources...
r28060 /*
* A command server client that uses Unix domain socket
*
* Copyright (c) 2011 Yuya Nishihara <yuya@tcha.org>
*
* This software may be used and distributed according to the terms of the
* GNU General Public License version 2 or any later version.
*/
#ifndef HGCLIENT_H_
#define HGCLIENT_H_
#include <sys/types.h>
struct hgclient_tag_;
typedef struct hgclient_tag_ hgclient_t;
hgclient_t *hgc_open(const char *sockname);
void hgc_close(hgclient_t *hgc);
Jun Wu
chg: add pgid to hgclient struct...
r29581 pid_t hgc_peerpgid(const hgclient_t *hgc);
Yuya Nishihara
chg: import frontend sources...
r28060 pid_t hgc_peerpid(const hgclient_t *hgc);
Jun Wu
chg: implement validate in hgclient...
r28356 const char **hgc_validate(hgclient_t *hgc, const char *const args[],
Augie Fackler
chg: enable clang-format on all .c and .h files...
r35977 size_t argsize);
Yuya Nishihara
chg: import frontend sources...
r28060 int hgc_runcommand(hgclient_t *hgc, const char *const args[], size_t argsize);
void hgc_attachio(hgclient_t *hgc);
void hgc_setenv(hgclient_t *hgc, const char *const envp[]);
Augie Fackler
chg: enable clang-format on all .c and .h files...
r35977 #endif /* HGCLIENT_H_ */