[Python-Dev] Split unicodeobject.c into subfiles?

Victor Stinner victor.stinner at gmail.com
Fri Oct 5 01:35:19 CEST 2012


2012/10/5 Benjamin Peterson <benjamin at python.org>:
> 2012/10/4 Victor Stinner <victor.stinner at gmail.com>:
>> If new files are created using "hg cp unicodeobject.c
>> unicode/newfile.c", the historic is kept.
>
> Yes, but you can only create one file that way.

You can create as many files as you want. Try:
---
hg cp unicodeobject.c unicode2.c
hg cp unicodeobject.c unicode3.c
hg ci -m "add new files"
<edit unicode2.c (remove most lines)>
<edit unicode3.c (remove most lines, but other lines)>
hg ci -m "modify"
hg blame unicode2.c
hg blame unicode3.c
---

Victor


More information about the Python-Dev mailing list