mercurial/windows.py
changeset 17223 c315842cb25f
parent 17203 0cb55b5c19a3
parent 17222 98823bd0d697
child 17391 fc24c10424d2
child 17505 ae791d371864
equal deleted inserted replaced
17215:e2a0422f00f7 17223:c315842cb25f
   289         os.rename(src, dst)
   289         os.rename(src, dst)
   290 
   290 
   291 def gethgcmd():
   291 def gethgcmd():
   292     return [sys.executable] + sys.argv[:1]
   292     return [sys.executable] + sys.argv[:1]
   293 
   293 
   294 def termwidth():
       
   295     # cmd.exe does not handle CR like a unix console, the CR is
       
   296     # counted in the line length. On 80 columns consoles, if 80
       
   297     # characters are written, the following CR won't apply on the
       
   298     # current line but on the new one. Keep room for it.
       
   299     return 79
       
   300 
       
   301 def groupmembers(name):
   294 def groupmembers(name):
   302     # Don't support groups on Windows for now
   295     # Don't support groups on Windows for now
   303     raise KeyError
   296     raise KeyError
   304 
   297 
   305 def isexec(f):
   298 def isexec(f):