You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Ramachandran, Vishwanath(IE10)" <Vi...@Honeywell.com> on 2009/07/07 06:45:20 UTC

Option file date

Is it possible to give an option that the file date will be the date of
file and not the copy date (at check out, update etc?) This should work
as global default for each new repository 

Thanks for your help.

 

Regards

R.R.Vishwanath

Desk: +91 80 26588360 Extn: 44211

Cell: +91 9632243577

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2368662

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: Option file date

Posted by "Ramachandran, Vishwanath(IE10)" <Vi...@Honeywell.com>.
Thanks Johan for the quick reply

Regards
R.R.Vishwanath
Desk: +91 80 26588360 Extn: 44211
Cell: +91 9632243577

-----Original Message-----
From: Johan Corveleyn [mailto:johan.corveleyn@uz.kuleuven.ac.be] 
Sent: Tuesday, July 07, 2009 2:34 PM
To: Ramachandran, Vishwanath(IE10); Hari Kodungallur; blair@orcaware.com
Cc: users@subversion.tigris.org
Subject: RE: Option file date

> From: Hari Kodungallur [mailto:hkodungallur@gmail.com]
> There is an option in the client's config file to use the commit
> time of the file (The option that is: "use-commit-times=yes". This
> is commented out by default]. When you use this option, the checked
> out file will have the timestamp of the file at the time it was
> checked in and not when it was checked out / updated. (I hope that
> is what you meant by "file date will be the date of file").
> 
> This is, however, a client config. AFAIK there is no global server
> option for this.
> 
> -----Oorspronkelijk bericht-----
> Van: Ramachandran, Vishwanath(IE10)
> 
> Thanks for the reply. We use Tortoise svn, where do I find the use-
> commit-times=yes
> 
> Since there is no global server option for this, where do I find
> the use-commit?

Go to Settings | General, and click on Edit next to "Subversion
configuration file". Then you can edit the config file.

Remember that this is a client setting, so it's only active for the
specific client on which you change the config file.

Also, just to be clear on this: use-commit-times=yes makes sure you get
that the files' times are set to the *last committed* timestamp. This is
not the same as the time when the file was last modified by the author
(last modified != last committed). If you really want the last-modified
time, you'll have to wait until issue #1256 gets resolved:
http://subversion.tigris.org/issues/show_bug.cgi?id=1256

Regards,
Johan

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2368719

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


RE: Option file date

Posted by Johan Corveleyn <jo...@uz.kuleuven.ac.be>.
> From: Hari Kodungallur [mailto:hkodungallur@gmail.com]
> There is an option in the client's config file to use the commit
> time of the file (The option that is: "use-commit-times=yes". This
> is commented out by default]. When you use this option, the checked
> out file will have the timestamp of the file at the time it was
> checked in and not when it was checked out / updated. (I hope that
> is what you meant by "file date will be the date of file").
> 
> This is, however, a client config. AFAIK there is no global server
> option for this.
> 
> -----Oorspronkelijk bericht-----
> Van: Ramachandran, Vishwanath(IE10)
> 
> Thanks for the reply. We use Tortoise svn, where do I find the use-
> commit-times=yes
> 
> Since there is no global server option for this, where do I find
> the use-commit?

Go to Settings | General, and click on Edit next to "Subversion configuration file". Then you can edit the config file.

Remember that this is a client setting, so it's only active for the specific client on which you change the config file.

Also, just to be clear on this: use-commit-times=yes makes sure you get that the files' times are set to the *last committed* timestamp. This is not the same as the time when the file was last modified by the author (last modified != last committed). If you really want the last-modified time, you'll have to wait until issue #1256 gets resolved: http://subversion.tigris.org/issues/show_bug.cgi?id=1256

Regards,
Johan

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2368692

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


RE: pvcs to svn migration

Posted by Bob Archer <bo...@amsi.com>.
Still hard to help here. First, the screen print didn't show errors, I just saw INFO. Second, is the property file you sent me actually the one you are using. I ask because that properties files says:

import_dump_into_svn=yes

However, the print screen shows that this is set to no. Perhaps it is not using the properties files that you think it is and that is why it is not using your paths?

However, I do think your project path is wrong:

pvcs.projectpath=c:\\sky

This should be the path to the project in your PVCS repository... Perhaps something like:

/sky ??? I can't tell you what it should be because I can't look at your PVCS repo.

BOb


From: Ramachandran, Vishwanath(IE10) [mailto:Vishwanath.Ramachandran@Honeywell.com]
Sent: Monday, July 20, 2009 9:48 AM
To: Bob Archer
Cc: users@subversion.tigris.org
Subject: RE: pvcs to svn migration

Bob

Please find the attached screenshot. Also attached the config.properties where the path is set.

Regards
R.R.Vishwanath
Desk: +91 80 26588360 Extn: 44211
Cell: +91 9632243577
________________________________
From: Bob Archer [mailto:Bob.Archer@amsi.com]
Sent: Monday, July 20, 2009 6:42 PM
To: Ramachandran, Vishwanath(IE10)
Cc: users@subversion.tigris.org
Subject: RE: pvcs to svn migration

It would help if I know what "some errors" where? The only problems I had when I used that were that some of my PVCS projects were to big and I got an out of memory error. IIRC I had to drill down and export sub-projects one at a time. This didn't cause me problems because the projects in question were mostly just legacy stuff. Once I imported them I just needed to move the folders around in svn to get them correct.

BOb


From: Ramachandran, Vishwanath(IE10) [mailto:Vishwanath.Ramachandran@Honeywell.com]
Sent: Monday, July 20, 2009 8:42 AM
To: Bob Archer
Cc: users@subversion.tigris.org
Subject: pvcs to svn migration

Hi bob

Could you help me in migrating the PVCS repository to subversion? Or suggest me step by step process

I always end with up some errors on the migration. I pcli.exe installed on the machine and PVCS dump files. I use svn importer tool for the migration. On the temp dir of PVCS, though I mention the path it is not taking it, same applies for subversion.

Please suggest am I missing something?


Regards
R.R.Vishwanath
Desk: +91 80 26588360 Extn: 44211
Cell: +91 9632243577
________________________________

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2372616

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: pvcs to svn migration

Posted by "Ramachandran, Vishwanath(IE10)" <Vi...@Honeywell.com>.
Bob

 

Please find the attached screenshot. Also attached the config.properties
where the path is set.

 

Regards

R.R.Vishwanath

Desk: +91 80 26588360 Extn: 44211

Cell: +91 9632243577

________________________________

From: Bob Archer [mailto:Bob.Archer@amsi.com] 
Sent: Monday, July 20, 2009 6:42 PM
To: Ramachandran, Vishwanath(IE10)
Cc: users@subversion.tigris.org
Subject: RE: pvcs to svn migration

 

It would help if I know what "some errors" where? The only problems I
had when I used that were that some of my PVCS projects were to big and
I got an out of memory error. IIRC I had to drill down and export
sub-projects one at a time. This didn't cause me problems because the
projects in question were mostly just legacy stuff. Once I imported them
I just needed to move the folders around in svn to get them correct.

 

BOb

 

 

From: Ramachandran, Vishwanath(IE10)
[mailto:Vishwanath.Ramachandran@Honeywell.com] 
Sent: Monday, July 20, 2009 8:42 AM
To: Bob Archer
Cc: users@subversion.tigris.org
Subject: pvcs to svn migration

 

Hi bob

 

Could you help me in migrating the PVCS repository to subversion? Or
suggest me step by step process

 

I always end with up some errors on the migration. I pcli.exe installed
on the machine and PVCS dump files. I use svn importer tool for the
migration. On the temp dir of PVCS, though I mention the path it is not
taking it, same applies for subversion.

 

Please suggest am I missing something?  

 

 

Regards

R.R.Vishwanath

Desk: +91 80 26588360 Extn: 44211

Cell: +91 9632243577

________________________________

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2372593

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: pvcs to svn migration

Posted by Bob Archer <bo...@amsi.com>.
It would help if I know what "some errors" where? The only problems I had when I used that were that some of my PVCS projects were to big and I got an out of memory error. IIRC I had to drill down and export sub-projects one at a time. This didn't cause me problems because the projects in question were mostly just legacy stuff. Once I imported them I just needed to move the folders around in svn to get them correct.

BOb


From: Ramachandran, Vishwanath(IE10) [mailto:Vishwanath.Ramachandran@Honeywell.com]
Sent: Monday, July 20, 2009 8:42 AM
To: Bob Archer
Cc: users@subversion.tigris.org
Subject: pvcs to svn migration

Hi bob

Could you help me in migrating the PVCS repository to subversion? Or suggest me step by step process

I always end with up some errors on the migration. I pcli.exe installed on the machine and PVCS dump files. I use svn importer tool for the migration. On the temp dir of PVCS, though I mention the path it is not taking it, same applies for subversion.

Please suggest am I missing something?


Regards
R.R.Vishwanath
Desk: +91 80 26588360 Extn: 44211
Cell: +91 9632243577
________________________________

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2372586

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

pvcs to svn migration

Posted by "Ramachandran, Vishwanath(IE10)" <Vi...@Honeywell.com>.
Hi bob

 

Could you help me in migrating the PVCS repository to subversion? Or
suggest me step by step process

 

I always end with up some errors on the migration. I pcli.exe installed
on the machine and PVCS dump files. I use svn importer tool for the
migration. On the temp dir of PVCS, though I mention the path it is not
taking it, same applies for subversion.

 

Please suggest am I missing something?  

 

 

Regards

R.R.Vishwanath

Desk: +91 80 26588360 Extn: 44211

Cell: +91 9632243577

________________________________

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2372583

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: Option file date

Posted by Bob Archer <bo...@amsi.com>.
In TSVN go to settings, then general. There is a checkbox "Set file dates to last commit time".

(sorry for the top post, just going with the flow)

BOb


From: Ramachandran, Vishwanath(IE10) [mailto:Vishwanath.Ramachandran@Honeywell.com]
Sent: Tuesday, July 07, 2009 3:54 AM
To: Hari Kodungallur; blair@orcaware.com
Cc: users@subversion.tigris.org
Subject: RE: Option file date

Hi there

Thanks for the reply. We use Tortoise svn, where do I find the use-commit-times=yes
Since there is no global server option for this, where do I find the use-commit?

Regards
R.R.Vishwanath
Desk: +91 80 26588360 Extn: 44211
Cell: +91 9632243577
________________________________
From: Hari Kodungallur [mailto:hkodungallur@gmail.com]
Sent: Tuesday, July 07, 2009 12:25 PM
To: Ramachandran, Vishwanath(IE10)
Cc: users@subversion.tigris.org
Subject: Re: Option file date


On Mon, Jul 6, 2009 at 11:45 PM, Ramachandran, Vishwanath(IE10) <Vi...@honeywell.com>> wrote:

Is it possible to give an option that the file date will be the date of file and not the copy date (at check out, update etc?) This should work as global default for each new repository

There is an option in the client's config file to use the commit time of the file (The option that is: "use-commit-times=yes". This is commented out by default]. When you use this option, the checked out file will have the timestamp of the file at the time it was checked in and not when it was checked out / updated. (I hope that is what you meant by "file date will be the date of file").

This is, however, a client config. AFAIK there is no global server option for this.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2368913

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: Option file date

Posted by "Ramachandran, Vishwanath(IE10)" <Vi...@Honeywell.com>.
Hi there

 

Thanks for the reply. We use Tortoise svn, where do I find the
use-commit-times=yes 

Since there is no global server option for this, where do I find the
use-commit?

 

Regards

R.R.Vishwanath

Desk: +91 80 26588360 Extn: 44211

Cell: +91 9632243577

________________________________

From: Hari Kodungallur [mailto:hkodungallur@gmail.com] 
Sent: Tuesday, July 07, 2009 12:25 PM
To: Ramachandran, Vishwanath(IE10)
Cc: users@subversion.tigris.org
Subject: Re: Option file date

 

 

On Mon, Jul 6, 2009 at 11:45 PM, Ramachandran, Vishwanath(IE10)
<Vi...@honeywell.com> wrote:

Is it possible to give an option that the file date will be the date of
file and not the copy date (at check out, update etc?) This should work
as global default for each new repository 


There is an option in the client's config file to use the commit time of
the file (The option that is: "use-commit-times=yes". This is commented
out by default]. When you use this option, the checked out file will
have the timestamp of the file at the time it was checked in and not
when it was checked out / updated. (I hope that is what you meant by
"file date will be the date of file").

This is, however, a client config. AFAIK there is no global server
option for this.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2368672

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Option file date

Posted by Hari Kodungallur <hk...@gmail.com>.
On Mon, Jul 6, 2009 at 11:45 PM, Ramachandran, Vishwanath(IE10) <
Vishwanath.Ramachandran@honeywell.com> wrote:

>  Is it possible to give an option that the file date will be the date of
> file and not the copy date (at check out, update etc?) This should work as
> global default for each new repository
>
>
There is an option in the client's config file to use the commit time of the
file (The option that is: "use-commit-times=yes". This is commented out by
default]. When you use this option, the checked out file will have the
timestamp of the file at the time it was checked in and not when it was
checked out / updated. (I hope that is what you meant by "file date will be
the date of file").

This is, however, a client config. AFAIK there is no global server option
for this.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2368665

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Option file date

Posted by Blair Zajac <bl...@orcaware.com>.
On Jul 6, 2009, at 11:45 PM, Ramachandran, Vishwanath(IE10) wrote:

> Is it possible to give an option that the file date will be the date  
> of file and not the copy date (at check out, update etc?) This  
> should work as global default for each new repository
>
> Thanks for your help.
>
> Regards
> R.R.Vishwanath
> Desk: +91 80 26588360 Extn: 44211
> Cell: +91 9632243577
>

You mean the date of the file when you checkout or export should be  
the date of it's last modification?  If so, then see this in your  
~/.subversion/config:

### Set use-commit-times to make checkout/update/switch/revert
### put last-committed timestamps on every file touched.
# use-commit-times = yes

Regards,
Blair

-- 
Blair Zajac, Ph.D.
CTO, OrcaWare Technologies
<bl...@orcaware.com>
Subversion training, consulting and support
http://www.orcaware.com/svn/

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2368666

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].