Any way to ingore timestamps

Asked by Jemsquash on 2011-11-17

Is there any way to tell bazaar to ignore timestamps (and maybe other attributes) when doing operations like merging? I am using Clearcase together with Bazaar and Clearcase is not preserving file modified times correctly. If I could pass in a flag to ignore timestamps then this would make life easier with Clearcase.

In this project timestamps are not important. I'd prefer not to use git but it does work better in this scenario.

Question information

Language:
English Edit question
Status:
Answered
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Last query:
2011-11-17
Last reply:
2011-11-17
Martin Pool (mbp) said : #1

What do you mean by 'ignore timestamps'? Bazaar doesn't track file timestamps.

What I am doing is I have a clearcase view with a bazaar repository in the same location. Everything from the clearcase view is in Bazaar.
I then create another view elsewhere of another branch in Clearcase. I then copy the .bzr folder across and then do a status and it is showing everything as changed even though the files are the same. I assumed it was timestamps as Clearcase did not preserve the timestamps.

I guess I'll have to analyse further to see what might be causing the issue.

Martin Pool (mbp) said : #3

if the time stamps change, bzr will re-scan the files but won't mark them
as changed.

I wonder if the way you're copying them is changing the line endings, or
something like that.
On Nov 17, 2011 5:15 PM, "Jemsquash" <email address hidden>
wrote:

> Question #179071 on Bazaar changed:
> https://answers.launchpad.net/bzr/+question/179071
>
> Jemsquash posted a new comment:
>
> What I am doing is I have a clearcase view with a bazaar repository in the
> same location. Everything from the clearcase view is in Bazaar.
> I then create another view elsewhere of another branch in Clearcase. I
> then copy the .bzr folder across and then do a status and it is showing
> everything as changed even though the files are the same. I assumed it was
> timestamps as Clearcase did not preserve the timestamps.
>
> I guess I'll have to analyse further to see what might be causing the
> issue.
>
> --
> You received this question notification because you are an answer
> contact for Bazaar.
>
>

Can you help with this problem?

Provide an answer of your own, or ask Jemsquash for more information if necessary.

To post a message you must log in.