On Thu, Oct 30, 2008 at 1:40 AM, Johannes Schindelin <Johannes.Schindelin@xxxxxx> wrote: > Hi, > > On Wed, 29 Oct 2008, Geoff Russell wrote: > >> I want to export "the last N days" of a repository to create a copy >> which has an origin which is the state of the repository N days ago and >> has all the history between then and now. >> >> Can fast-export do this? > > Yes. See the --since=... option. Sorry, I didn't explain what I want very well. N days ago I had a working directory in a state S with files F1,F2,F3,... I want to dump all the history before then so that this is my new starting point, so I want to keep all changes since then. In general, this is impossible if there are multiple branches which influence what happens between N and now, but in the simple non-branching case it should be possible. Fast-export with From..To revisions (or with --since=...) just gives changes since the point N days ago. Basically I'm trying to do an "rcs -o:1.xyz" where xyz is a version and I want to prune before that to shrink a large and unwanted history. Thanks, Geoff Russell > > Hth, > Dscho > > -- 6 Fifth Ave, St Morris, S.A. 5068 Australia Ph: 041 8805 184 / 08 8332 5069 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html