Discussion:
[p4] Unable to check-in hidden (file names starting with .) files in Perforce client for Linux
Prakash
2011-10-07 00:10:01 UTC
Permalink
Posted on behalf of forum user 'Prakash'.

Hi,

I am using Perforce visual client on Ubuntu. My company has been using Perforce
for a really long time. We have started working on an Android based project and
the source code has been pulled from the Git repo.

My task is to make the source code available in Perforce. As the code has been
pulled from Git, the source code has many hidden file and folders, precisely
files and folder names starting with “.” (Example, folders like “.repo”,
etc). I checked-in the source code into Perforce and observed that none of these
hidden/special files got uploaded into Perforce. Few of these hidden files are
required for successful build, specially the .conf files.

I have been trying to find a solution to this problem and no luck yet. Please
help me with this.

Thanks and Regards,
Prakash



--
Please click here to see the post in its original format:
http://forums.perforce.com/index.php?/topic/1182-unable-to-check-in-hidden-file-names-starting-with-files-in-perforce-client-for-linux
Matt Janulewicz
2011-10-07 00:41:59 UTC
Permalink
I can verify that we have tons of .<hidden> files in our repo. They' are typically added explicitly using 'p4 add' from the commandline.

How are you trying to add them? And are you getting any errors? Or has someone else tried to add them and it didn't work out?

I could see a situation where someone tried something weird like 'ls -1 | xargs -n1 p4 add', which wouldn't pick up hidden files. If you're doing a lot of files I'd recommend 'find . -type f ...' or some such thing.

Anyway, this should be trivial. Would be curious to know what command was used.


--
Matt Janulewicz
Lucasfilm Entertainment Company Ltd.


________________________________________
From: perforce-user-***@perforce.com [perforce-user-***@perforce.com] on behalf of Prakash [perforce-user-***@forums.perforce.com]
Sent: Thursday, October 06, 2011 5:10 PM
To: perforce-***@perforce.com
Subject: [p4] Unable to check-in hidden (file names starting with .) files in Perforce client for Linux

Posted on behalf of forum user 'Prakash'.

Hi,

I am using Perforce visual client on Ubuntu. My company has been using Perforce
for a really long time. We have started working on an Android based project and
the source code has been pulled from the Git repo.

My task is to make the source code available in Perforce. As the code has been
pulled from Git, the source code has many hidden file and folders, precisely
files and folder names starting with “.” (Example, folders like “.repo”,
etc). I checked-in the source code into Perforce and observed that none of these
hidden/special files got uploaded into Perforce. Few of these hidden files are
required for successful build, specially the .conf files.

I have been trying to find a solution to this problem and no luck yet. Please
help me with this.

Thanks and Regards,
Prakash



--
Please click here to see the post in its original format:
http://forums.perforce.com/index.php?/topic/1182-unable-to-check-in-hidden-file-names-starting-with-files-in-perforce-client-for-linux
_______________________________________________
perforce-user mailing list - perforce-***@perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user

____________________________

This message and any attachments ("message") may contain information which is confidential and/or privileged. Unless you are the addressee, you may not use, copy or disclose to anyone the message or any information contained in the message. If you have received the message in error, please advise the sender and delete all copies of the message. Thank you.
Michael Schlueter
2011-10-07 17:20:01 UTC
Permalink
Posted on behalf of forum user 'Michael Schlueter'.

If you select the Workspace Tree you can choose the workspace filter (the yellow
icon). There's the filter option "show hidden files". If you
select this option, you can add the hidden files with the "mark for
add" command.

Hope this helps,
Michael



[http://forums.perforce.com/index.php?app=forums&module=forums&section=findpost&pid=3610]
Hi,
I am using Perforce visual client on Ubuntu. My company has been using Perforce for a really long time. We have started working on an Android based project and the source code has been pulled from the Git repo.
My task is to make the source code available in Perforce. As the code has been pulled from Git, the source code has many hidden file and folders, precisely files and folder names starting with “.” (Example, folders like “.repo”, etc). I checked-in the source code into Perforce and observed that none of these hidden/special files got uploaded into Perforce. Few of these hidden files are required for successful build, specially the .conf files.
I have been trying to find a solution to this problem and no luck yet. Please help me with this.
Thanks and Regards,
Prakash
--
Please click here to see the post in its original format:
http://forums.perforce.com/index.php?/topic/1182-unable-to-check-in-hidden-file-names-starting-with-files-in-perforce-client-for-linux
Loading...