hgext/largefiles/overrides.py
branchstable
changeset 17232 25248e2ebaee
parent 17231 2446b63c89ec
child 17245 6e84171a61c8
equal deleted inserted replaced
17231:2446b63c89ec 17232:25248e2ebaee
    79         if exact and exists:
    79         if exact and exists:
    80             if lfile:
    80             if lfile:
    81                 ui.warn(_('%s already a largefile\n') % f)
    81                 ui.warn(_('%s already a largefile\n') % f)
    82             continue
    82             continue
    83 
    83 
    84         if exact or not exists:
    84         if (exact or not exists) and not lfutil.isstandin(f):
    85             wfile = repo.wjoin(f)
    85             wfile = repo.wjoin(f)
    86 
    86 
    87             # In case the file was removed previously, but not committed
    87             # In case the file was removed previously, but not committed
    88             # (issue3507)
    88             # (issue3507)
    89             if not os.path.exists(wfile):
    89             if not os.path.exists(wfile):