~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/win32utils.py

  • Committer: John Arbash Meinel
  • Date: 2009-03-27 22:29:55 UTC
  • mto: (3735.39.2 clean)
  • mto: This revision was merged to the branch mainline in revision 4280.
  • Revision ID: john@arbash-meinel.com-20090327222955-utifmfm888zerixt
Implement apply_delta_to_source which doesn't have to malloc another string.

Show diffs side-by-side

added added

removed removed

Lines of Context:
286
286
    If location cannot be obtained return system drive root,
287
287
    i.e. C:\
288
288
 
289
 
    Returned value can be unicode or plain string.
 
289
    Returned value can be unicode or plain sring.
290
290
    To convert plain string to unicode use
291
291
    s.decode(osutils.get_user_encoding())
292
292
    """
309
309
    """Return user name as login name.
310
310
    If name cannot be obtained return None.
311
311
 
312
 
    Returned value can be unicode or plain string.
 
312
    Returned value can be unicode or plain sring.
313
313
    To convert plain string to unicode use
314
314
    s.decode(osutils.get_user_encoding())
315
315
    """
454
454
 
455
455
def get_app_path(appname):
456
456
    """Look up in Windows registry for full path to application executable.
457
 
    Typically, applications create subkey with their basename
 
457
    Typicaly, applications create subkey with their basename
458
458
    in HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\
459
459
 
460
460
    :param  appname:    name of application (if no filename extension