##// END OF EJS Templates
chg: just forward --time to command server...
Yuya Nishihara -
r34532:50788d1a default
parent child Browse files
Show More
@@ -369,7 +369,6 b' static int isunsupported(int argc, const'
369 SERVE = 1,
369 SERVE = 1,
370 DAEMON = 2,
370 DAEMON = 2,
371 SERVEDAEMON = SERVE | DAEMON,
371 SERVEDAEMON = SERVE | DAEMON,
372 TIME = 4,
373 };
372 };
374 unsigned int state = 0;
373 unsigned int state = 0;
375 int i;
374 int i;
@@ -381,11 +380,8 b' static int isunsupported(int argc, const'
381 else if (strcmp("-d", argv[i]) == 0 ||
380 else if (strcmp("-d", argv[i]) == 0 ||
382 strcmp("--daemon", argv[i]) == 0)
381 strcmp("--daemon", argv[i]) == 0)
383 state |= DAEMON;
382 state |= DAEMON;
384 else if (strcmp("--time", argv[i]) == 0)
385 state |= TIME;
386 }
383 }
387 return (state & TIME) == TIME ||
384 return (state & SERVEDAEMON) == SERVEDAEMON;
388 (state & SERVEDAEMON) == SERVEDAEMON;
389 }
385 }
390
386
391 static void execoriginalhg(const char *argv[])
387 static void execoriginalhg(const char *argv[])
General Comments 0
You need to be logged in to leave comments. Login now