1#! /usr/bin/env python 2# Copyright (c) 2006 The Regents of The University of Michigan 3# Copyright (c) 2007 The Hewlett-Packard Development Company 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions are 8# met: redistributions of source code must retain the above copyright --- 290 unchanged lines hidden (view full) --- 299 if ui.verbose: 300 ui.write(">>%s<<\n" % line[-1]) 301 ok = False 302 303 if not ok: 304 if prompt(fname): 305 return True 306 |
307 try: 308 wctx = repo.workingctx() 309 except: 310 from mercurial import context 311 wctx = context.workingctx(repo) 312 |
313 for fname in modified: 314 if skip(fname): 315 continue 316 317 if not whitespace_file(fname): 318 continue 319 320 fctx = wctx.filectx(fname) --- 130 unchanged lines hidden --- |